The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Fix flaky auto-wiring foreign-keys e2e test (#76379)
github-automation-metabaseff8b4389875b
diff --git a/e2e/test/scenarios/dashboard-filters/dashboard-filters-auto-wiring.cy.spec.js b/e2e/test/scenarios/dashboard-filters/dashboard-filters-auto-wiring.cy.spec.jsindex 20301cf0f65..149c4b6e69b 100644--- a/e2e/test/scenarios/dashboard-filters/dashboard-filters-auto-wiring.cy.spec.js+++ b/e2e/test/scenarios/dashboard-filters/dashboard-filters-auto-wiring.cy.spec.js@@ -501,17 +501,22 @@ describe("dashboard filters auto-wiring", () => {goToFilterMapping("ID");+ // The two auto-wire suggestion toasts stack and briefly overlap while the+ // undo list re-measures and animates them into their final positions, so a+ // sibling toast can transiently cover the precisely-scoped Auto-connect+ // button. Force the click past that obstruction — the target button is+ // already uniquely scoped via .contains(...).closest("toast-undo").H.undoToastList().contains("Auto-connect “Orders Question” to “ID”?").closest("[data-testid='toast-undo']").findByRole("button", { name: "Auto-connect" })- .click();+ .click({ force: true });H.undoToastList().contains("Auto-connect “Reviews Question” to “ID”?").closest("[data-testid='toast-undo']").findByRole("button", { name: "Auto-connect" })- .click();+ .click({ force: true });H.getDashboardCard(0).findByText("Products.ID").should("exist");H.getDashboardCard(1).findByText("Product.ID").should("exist");