aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cypress/e2e/files/files.cy.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/cypress/e2e/files/files.cy.ts b/cypress/e2e/files/files.cy.ts
index ac82086360f..efae1116d2d 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')
})
})