From 1b393a7cf1140d39a5444f28e9530be22fc485fb Mon Sep 17 00:00:00 2001 From: Zach Wasserman Date: Mon, 9 Aug 2021 18:18:04 -0700 Subject: [PATCH] Fix flaky E2E test (#1604) Due to https://github.com/cypress-io/cypress/issues/7306, we need to use `force: true` in many places to avoid flakiness in Cypress tests. --- cypress/integration/core/admin.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/core/admin.spec.ts b/cypress/integration/core/admin.spec.ts index b924487abc..92599c502c 100644 --- a/cypress/integration/core/admin.spec.ts +++ b/cypress/integration/core/admin.spec.ts @@ -94,7 +94,7 @@ describe("Core tier - Admin user", () => { }); cy.contains("a", /back to queries/i).click({ force: true }); - cy.findByText(/cypress test query/i).click(); + cy.findByText(/cypress test query/i).click({ force: true }); cy.findByText(/edit & run query/i).should("exist"); // On the Packs pages (manage, new, and edit), they should…