Skip to content

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

fixes a flaky (#66822)

Sébastien49503e742f4f
diff --git a/e2e/test-component/scenarios/embedding-sdk/dashboard-click-behavior.cy.spec.tsx b/e2e/test-component/scenarios/embedding-sdk/dashboard-click-behavior.cy.spec.tsx
index 1f8484599d2..d6b7c062b1f 100644
--- a/e2e/test-component/scenarios/embedding-sdk/dashboard-click-behavior.cy.spec.tsx
+++ b/e2e/test-component/scenarios/embedding-sdk/dashboard-click-behavior.cy.spec.tsx
@@ -244,13 +244,14 @@ describe("scenarios > embedding-sdk > dashboard-click-behavior", () => {
});
it("columns that return a string url should be rendered as a link", () => {
+ cy.intercept("GET", "/api/card/*").as("getCard");
+
// We can't map them easily to click behaviors, so they stay as links for now
// see https://github.com/metabase/metabase/issues/64622
cy.get<string>("@questionId").then((questionId) => {
mountSdkContent(<InteractiveQuestion questionId={questionId} />);
});
- cy.intercept("GET", "/api/card/*").as("getCard");
cy.wait("@getCard");
cy.findByRole("link", { name: "https://example.org/979" })