diff --git a/cypress/integration/login.js b/cypress/integration/login.js index 91ecf71f78..4da1f39229 100644 --- a/cypress/integration/login.js +++ b/cypress/integration/login.js @@ -1,6 +1,8 @@ context('Login', () => { beforeEach(() => { + cy.request('/api/method/logout'); cy.visit('/login'); + cy.location().should('be', '/login'); }); it('greets with login screen', () => {