From f337ce32b83434bd5d59555cc9f29c12a1ada829 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 15 Oct 2019 18:14:19 +0200 Subject: [PATCH] Wait a little for Cypress to detect register button Signed-off-by: Thomas Citharel --- js/tests/e2e/specs/login.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/tests/e2e/specs/login.js b/js/tests/e2e/specs/login.js index 2b99e6629..d55b6eb90 100644 --- a/js/tests/e2e/specs/login.js +++ b/js/tests/e2e/specs/login.js @@ -15,6 +15,7 @@ describe('Login', () => { cy.url().should('include', '/password-reset/send'); cy.go('back'); + cy.wait(1000); cy.get('form').contains('.control a.button', 'Register').click(); cy.url().should('include', '/register/user');