Skip to content
Snippets Groups Projects
Unverified Commit 07f4a5ac authored by github-automation-metabase's avatar github-automation-metabase Committed by GitHub
Browse files

Fix flaky test (#50077) (#50125)

parent 3c0651a9
No related branches found
No related tags found
No related merge requests found
import {
changeSynchronousBatchUpdateSetting,
clearFilterWidget,
editDashboard,
restore,
......@@ -43,6 +44,7 @@ describe("scenarios > dashboard > filters > SQL > simple filter > required ", ()
beforeEach(() => {
restore();
cy.signInAsAdmin();
changeSynchronousBatchUpdateSetting(true);
cy.createNativeQuestionAndDashboard({
questionDetails,
......@@ -66,6 +68,10 @@ describe("scenarios > dashboard > filters > SQL > simple filter > required ", ()
});
});
afterEach(() => {
changeSynchronousBatchUpdateSetting(false);
});
it("should respect default filter precedence while properly updating the url for each step of the flow", () => {
// Default dashboard filter
cy.location("search").should("eq", "?text=Bar");
......
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