From 804384f9d8844b5154ce8c4cb9a92ce0b9388ce6 Mon Sep 17 00:00:00 2001 From: Boris Sekachev Date: Mon, 7 Dec 2020 16:34:46 +0300 Subject: [PATCH] Fixed tests --- tests/cypress/support/commands.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/cypress/support/commands.js b/tests/cypress/support/commands.js index aa48a82f..b3d06fc8 100644 --- a/tests/cypress/support/commands.js +++ b/tests/cypress/support/commands.js @@ -23,6 +23,7 @@ Cypress.Commands.add('logout', (username = Cypress.env('user')) => { }); cy.get('.anticon-logout').click(); cy.url().should('include', '/auth/login'); + cy.visit('/auth/login'); // clear query parameter "next" }); Cypress.Commands.add('userRegistration', (firstName, lastName, userName, emailAddr, password) => {