diff --git a/cypress/e2e/1-install.cy.js b/cypress/e2e/1-install.cy.js index d034a52e..84a8f51b 100644 --- a/cypress/e2e/1-install.cy.js +++ b/cypress/e2e/1-install.cy.js @@ -68,7 +68,7 @@ describe('Install MyAAC', () => { cy.get('form').submit() - cy.wait(1000); + cy.contains('[class="alert alert-success"]', 'Congratulations', { timeout: 30000 }).should('be.visible') cy.screenshot('install-finish') })