diff --git a/cypress/cypress/e2e/no-warnings.cy.ts b/cypress/cypress/e2e/no-warnings.cy.ts index 6281216e..671d60b5 100644 --- a/cypress/cypress/e2e/no-warnings.cy.ts +++ b/cypress/cypress/e2e/no-warnings.cy.ts @@ -2,6 +2,6 @@ describe('Tests of frank-manual config - no warnings', () => { it('Test that there are no alerts in the status page', () => { cy.visit('') // cy.get('[data-cy-status-alert]').should('have.length', 0) - cy.tryToFindMoreThanZero('.alert-warning', 10) + cy.get('.alert-warning').should('have.length', 0) }) }) \ No newline at end of file