Fix integration test
This commit is contained in:
parent
0694471270
commit
2eae460b31
|
|
@ -39,10 +39,6 @@ Cypress.Commands.add("login", (username, password, visitLogin=false) => {
|
||||||
cy.get('[data-cy=login-button]').click();
|
cy.get('[data-cy=login-button]').click();
|
||||||
});
|
});
|
||||||
|
|
||||||
Cypress.Commands.add("clearCookies", () => {
|
|
||||||
cy.clearCookies();
|
|
||||||
});
|
|
||||||
|
|
||||||
Cypress.Commands.add("logout", () => {
|
Cypress.Commands.add("logout", () => {
|
||||||
cy.get('[data-cy=user-icon]').click();
|
cy.get('[data-cy=user-icon]').click();
|
||||||
cy.get('[data-cy=logout]').click();
|
cy.get('[data-cy=logout]').click();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue