From 4e81ebe622ecd273416778c8f6ed15f5f7973624 Mon Sep 17 00:00:00 2001 From: Boaz Poolman Date: Mon, 30 Dec 2024 20:18:44 +0000 Subject: [PATCH] fix: cypress flakyness by reloading after logging in --- cypress/support/commands.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cypress/support/commands.js b/cypress/support/commands.js index 627c81f..719cef3 100644 --- a/cypress/support/commands.js +++ b/cypress/support/commands.js @@ -64,6 +64,8 @@ Cypress.Commands.add('login', (path) => { cy.wait('@sessionCheck').its('response.statusCode').should('equal', 200); } }); + + cy.reload(); }); Cypress.Commands.add('navigateToInterface', (path) => {