Less brittle e2e teams flow test (#831)

This commit is contained in:
RachelElysia 2021-05-21 15:44:40 -04:00 committed by GitHub
parent ce005779e6
commit bbd5741599
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,6 +62,11 @@ describe("Teams flow", () => {
cy.findByText(/successfully deleted/i).should("be.visible");
cy.visit("/settings/teams");
// Allow rendering to settle
// TODO this might represent a bug in the React code.
cy.wait(100); // eslint-disable-line cypress/no-unnecessary-waiting
cy.findByText(/mystic/i).should("not.exist");
});
});