diff --git a/frontend/cypress/e2e/user/password-reset.spec.ts b/frontend/cypress/e2e/user/password-reset.spec.ts index 3a7e26ad8..9823b70ef 100644 --- a/frontend/cypress/e2e/user/password-reset.spec.ts +++ b/frontend/cypress/e2e/user/password-reset.spec.ts @@ -47,6 +47,7 @@ context('Password Reset', () => { it('Should redirect to login if no token is present in query param when visiting /password-reset directly', () => { cy.visit('/password-reset') cy.url().should('not.include', '/password-reset') + cy.wait(1000) // Wait for the redirect to happen - this seems to be flaky in CI cy.url().should('include', '/login') })