diff --git a/cypress/integration/login/login.js b/cypress/integration/login/login.js index 75f1caf786deeadbe4cfaa538b283095dd79b426..6b2911f189ebcadd655c8d5ef5646c7b5539a5bb 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'); })