From fe4c226f1291c5290f7cf9785176a15838db6cd2 Mon Sep 17 00:00:00 2001 From: Imre Toth <imre.toth@ess.eu> Date: Wed, 26 May 2021 15:00:19 +0200 Subject: [PATCH] Added timeout for testing --- cypress/integration/login/login.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/integration/login/login.js b/cypress/integration/login/login.js index 75f1caf7..6b2911f1 100644 --- a/cypress/integration/login/login.js +++ b/cypress/integration/login/login.js @@ -20,7 +20,7 @@ When('the user opens the application', () => { Then('the user should be redirected to the login page', () => { - cy.get('.MuiDialog-root').find('#password'); - cy.get('.MuiDialog-root').find('#username'); + cy.get('.MuiDialog-root', { timeout: 9000 }).find('#password'); + cy.get('.MuiDialog-root', { timeout: 9000 }).find('#username'); }) -- GitLab