mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
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:
parent
5fb5995b83
commit
eead6d8bd1
@ -12,7 +12,14 @@ describe("Basic tier - Admin user", () => {
|
|||||||
cy.stopDockerHost();
|
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.login("anna@organization.com", "user123#");
|
||||||
cy.visit("/");
|
cy.visit("/");
|
||||||
|
|
||||||
@ -95,5 +102,6 @@ describe("Basic tier - Admin user", () => {
|
|||||||
.next()
|
.next()
|
||||||
.contains(/global/i);
|
.contains(/global/i);
|
||||||
cy.findByText("Role").next().contains(/admin/i);
|
cy.findByText("Role").next().contains(/admin/i);
|
||||||
});
|
}
|
||||||
|
);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user