Skip to content
Snippets Groups Projects
Unverified Commit 5fb43f26 authored by Ryan Laurie's avatar Ryan Laurie Committed by GitHub
Browse files

Tag Flaky Tests (#40654)

parent 98f6cd82
No related branches found
No related tags found
No related merge requests found
......@@ -37,23 +37,27 @@ describe("issue 27356", () => {
});
});
it("should seamlessly move between dashboards with or without filters without triggering an error (metabase#27356)", () => {
openNavigationSidebar();
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText(paramDashboard.name).click();
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText("This dashboard is looking empty.");
openNavigationSidebar();
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText(regularDashboard.name).click({ force: true });
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText("This dashboard is looking empty.");
openNavigationSidebar();
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText(paramDashboard.name).click({ force: true });
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText("This dashboard is looking empty.");
});
it(
"should seamlessly move between dashboards with or without filters without triggering an error (metabase#27356)",
{ tags: "@flaky" },
() => {
openNavigationSidebar();
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText(paramDashboard.name).click();
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText("This dashboard is looking empty.");
openNavigationSidebar();
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText(regularDashboard.name).click({ force: true });
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText("This dashboard is looking empty.");
openNavigationSidebar();
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText(paramDashboard.name).click({ force: true });
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText("This dashboard is looking empty.");
},
);
});
......@@ -17,7 +17,7 @@ describeEE("scenarios > question > caching", () => {
cy.request("PUT", "/api/setting/enable-query-caching", { value: true });
});
it("can set cache ttl for a saved question", () => {
it("can set cache ttl for a saved question", { tags: "@flaky" }, () => {
cy.intercept("PUT", `/api/card/${ORDERS_QUESTION_ID}`).as("updateQuestion");
visitQuestion(ORDERS_QUESTION_ID);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment