diff --git a/cypress/e2e/files/files.cy.ts b/cypress/e2e/files/files.cy.ts index ac82086360ffc..efae1116d2d5d 100644 --- a/cypress/e2e/files/files.cy.ts +++ b/cypress/e2e/files/files.cy.ts @@ -52,6 +52,7 @@ describe('Files', { testIsolation: true }, () => { cy.visit('/apps/files/files/123456') cy.wait('@propfind') - cy.contains('The file could not be found').should('be.visible') + // The toast should be visible + cy.contains('The file could not be found', { timeout: 5000 }).should('be.visible') }) })