Skip to content

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

fix flaky test in embedding hub (#71434)

Nicolò Pretto25765054659b
diff --git a/e2e/test/scenarios/embedding/embedding-hub/embedding-hub.cy.spec.ts b/e2e/test/scenarios/embedding/embedding-hub/embedding-hub.cy.spec.ts
index 8c95a57b956..008c40cd4b9 100644
--- a/e2e/test/scenarios/embedding/embedding-hub/embedding-hub.cy.spec.ts
+++ b/e2e/test/scenarios/embedding/embedding-hub/embedding-hub.cy.spec.ts
@@ -1134,11 +1134,18 @@ describe("scenarios - embedding hub", () => {
cy.visit("/admin/embedding/setup-guide/permissions");
+ cy.log("wait for checklist data to load before interacting with steps");
+ H.main()
+ .findByRole("listitem", {
+ name: /Enable multi-tenant user strategy/,
+ timeout: 10_000,
+ })
+ .should("have.attr", "data-completed", "true");
+
cy.log("open the data segregation strategy step");
H.main()
.findByText("Which data segregation strategy does your database use?")
.scrollIntoView()
- .should("be.visible")
.click();
cy.log("select row and column level security strategy");