Skip to content
Snippets Groups Projects
Unverified Commit 320307f7 authored by Uladzimir Havenchyk's avatar Uladzimir Havenchyk Committed by GitHub
Browse files

Remove not flaky tests from flaky group (#41496)

parent 81db2adb
No related branches found
No related tags found
No related merge requests found
......@@ -21,36 +21,32 @@ describe("issue 34382", () => {
);
});
it(
"should preserve filter value when navigating between the dashboard and the query builder with auto-apply disabled (metabase#34382)",
{ tags: "@flaky" },
() => {
createDashboardWithCards();
visitDashboard("@dashboardId");
addFilterValue("Gizmo");
applyFilter();
cy.log("Navigate to Products question");
getDashboardCard().findByText("Products").click();
cy.log("Navigate back to dashboard");
queryBuilderHeader()
.findByLabelText("Back to Products in a dashboard")
.click();
cy.location("search").should("eq", "?category=Gizmo");
filterWidget().contains("Gizmo");
getDashboardCard().within(() => {
// only products with category "Gizmo" are filtered
cy.findAllByTestId("table-row")
.find("td")
.eq(3)
.should("contain", "Gizmo");
});
},
);
it("should preserve filter value when navigating between the dashboard and the query builder with auto-apply disabled (metabase#34382)", () => {
createDashboardWithCards();
visitDashboard("@dashboardId");
addFilterValue("Gizmo");
applyFilter();
cy.log("Navigate to Products question");
getDashboardCard().findByText("Products").click();
cy.log("Navigate back to dashboard");
queryBuilderHeader()
.findByLabelText("Back to Products in a dashboard")
.click();
cy.location("search").should("eq", "?category=Gizmo");
filterWidget().contains("Gizmo");
getDashboardCard().within(() => {
// only products with category "Gizmo" are filtered
cy.findAllByTestId("table-row")
.find("td")
.eq(3)
.should("contain", "Gizmo");
});
});
});
const createDashboardWithCards = () => {
......
......@@ -25,7 +25,7 @@ describe("scenarios > visualizations > drillthroughs > chart drill", () => {
cy.signInAsAdmin();
});
it("should allow brush date filter", { tags: "@flaky" }, () => {
it("should allow brush date filter", () => {
cy.createQuestion(
{
name: "Brush Date Temporal Filter",
......
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