mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
E2e testing: Add stopDockerHost command to Cypress tests (#1112)
* Add stopDockerHost command to e2e tests
This commit is contained in:
parent
d78c5fd124
commit
0279139632
3 changed files with 9 additions and 0 deletions
|
|
@ -9,6 +9,9 @@ if (Cypress.env("FLEET_TIER") === "basic") {
|
|||
cy.addDockerHost();
|
||||
cy.logout();
|
||||
});
|
||||
afterEach(() => {
|
||||
cy.stopDockerHost();
|
||||
});
|
||||
|
||||
it("Can perform the appropriate basic-tier admin actions", () => {
|
||||
cy.login("anna@organization.com", "user123#");
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@ if (Cypress.env("FLEET_TIER") === "basic") {
|
|||
cy.addDockerHost();
|
||||
cy.logout();
|
||||
});
|
||||
afterEach(() => {
|
||||
cy.stopDockerHost();
|
||||
});
|
||||
|
||||
it("Can perform the appropriate team observer actions", () => {
|
||||
cy.login("marco@organization.com", "user123#");
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@ if (Cypress.env("FLEET_TIER") === "core") {
|
|||
cy.addDockerHost();
|
||||
cy.logout();
|
||||
});
|
||||
afterEach(() => {
|
||||
cy.stopDockerHost();
|
||||
});
|
||||
|
||||
it("Can perform the appropriate core-tier admin actions", () => {
|
||||
cy.login("anna@organization.com", "user123#");
|
||||
|
|
|
|||
Loading…
Reference in a new issue