Add retries for flaky admin test (#1780)

This test was flaky in CI, and should mostly stop causing issues with
retries configured.
This commit is contained in:
Zach Wasserman 2021-08-24 15:59:51 -07:00 committed by GitHub
parent 5fb5995b83
commit eead6d8bd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,14 @@ describe("Basic tier - Admin user", () => {
cy.stopDockerHost();
});
it("Can perform the appropriate basic-tier admin actions", () => {
it(
"Can perform the appropriate basic-tier admin actions",
{
retries: {
runMode: 2,
},
},
() => {
cy.login("anna@organization.com", "user123#");
cy.visit("/");
@ -95,5 +102,6 @@ describe("Basic tier - Admin user", () => {
.next()
.contains(/global/i);
cy.findByText("Role").next().contains(/admin/i);
});
}
);
});