Skip to content

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

[Flaky Test]: should send snowplow events through admin settings (#80005)

Chris Vandoodewaard272b17ffdd6f
diff --git a/e2e/test/scenarios/onboarding/home/homepage.cy.spec.js b/e2e/test/scenarios/onboarding/home/homepage.cy.spec.js
index 561192c9931..9852070f52d 100644
--- a/e2e/test/scenarios/onboarding/home/homepage.cy.spec.js
+++ b/e2e/test/scenarios/onboarding/home/homepage.cy.spec.js
@@ -356,6 +356,7 @@ describe("scenarios > home > custom homepage", () => {
cy.findByRole("radio", { name: "Dashboard" }).click();
});
cy.wait("@putSettings");
+ H.undoToast().icon("close").click();
cy.findByTestId("custom-homepage-dashboard-setting")
.findByRole("button")
@@ -365,6 +366,7 @@ describe("scenarios > home > custom homepage", () => {
H.entityPickerModal().findByText("Orders in a dashboard").click();
H.undoToast().findByText("Changes saved").should("be.visible");
+ H.undoToast().icon("close").click();
cy.findByTestId("custom-homepage-dashboard-setting").should(
"contain",
@@ -654,6 +656,7 @@ describe("scenarios > setup", () => {
.findByRole("radio", { name: "Dashboard" })
.click();
cy.wait("@putSettings");
+ H.undoToast().icon("close").click();
cy.findByTestId("custom-homepage-dashboard-setting")
.findByRole("button")