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.
This commit is contained in:
Zach Wasserman 2021-08-09 18:18:04 -07:00 committed by GitHub
parent 4eee9af856
commit 1b393a7cf1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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…