From 54af884e5064c0863989fe5605bff255018f3337 Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Mon, 17 Feb 2020 18:38:51 +0100 Subject: [PATCH] Log out before logging in as other user --- cypress/integration/common/steps.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/integration/common/steps.js b/cypress/integration/common/steps.js index eb533a5a2..dd90e7e76 100644 --- a/cypress/integration/common/steps.js +++ b/cypress/integration/common/steps.js @@ -46,6 +46,7 @@ Given("I am logged in", () => { }); Given("I log in as {string}", name => { + cy.logout() cy.neode() .first("User", { name