From fd1ddab50f29a3a39be7ea8b45e4059393abd229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Thu, 2 Jul 2020 16:56:28 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=EF=B8=8F=20Let's=20see=20?= =?UTF-8?q?if=20waiting=20helps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/cypress/integration/login.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/cypress/integration/login.js b/tests/cypress/integration/login.js index 7b74ec04c..b79bd9d0e 100644 --- a/tests/cypress/integration/login.js +++ b/tests/cypress/integration/login.js @@ -13,6 +13,8 @@ describe('Login tests', () => { cy.get('#login-button') .click(); + cy.wait(5000); // wait 5s for the page load before continuing + cy.get('#navbar') .should('be.visible'); cy.get('#navbar_login a.dropdown-toggle span')