Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

E2E repro for "Suggestion editor popover middle/right click closes the popover" (#62592)

Alexander Polyankine236250e5b50
diff --git a/e2e/test/scenarios/custom-column/custom-column-reproductions.cy.spec.js b/e2e/test/scenarios/custom-column/custom-column-reproductions.cy.spec.js
index 4dd9e01d68e..9c722fa1678 100644
--- a/e2e/test/scenarios/custom-column/custom-column-reproductions.cy.spec.js
+++ b/e2e/test/scenarios/custom-column/custom-column-reproductions.cy.spec.js
@@ -1264,6 +1264,25 @@ describe("issue 49304", () => {
});
});
+describe("issue 41305", () => {
+ beforeEach(() => {
+ H.restore();
+ cy.signInAsNormalUser();
+ });
+
+ it("should allow to right click in the suggestion popover without closing it (metabase#41305)", () => {
+ H.openProductsTable({ mode: "notebook" });
+ H.addCustomColumn();
+ H.enterCustomColumnDetails({ formula: "contains(", blur: false });
+ H.popover()
+ .should("have.length", 2)
+ .last()
+ .findByText("The column or text to check.")
+ .rightclick();
+ H.popover().should("have.length", 2);
+ });
+});
+
describe("issue 49305", () => {
beforeEach(() => {
H.restore();