diff options
author | skjnldsv <skjnldsv@protonmail.com> | 2025-02-28 10:35:44 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2025-02-28 16:03:54 +0000 |
commit | b58497d2a36fa26fb2eb247352260e0e91c95537 (patch) | |
tree | c2f1d6b2317b7d2fa076f69c36df70f7e7325dfe | |
parent | 52163b49054e7e782d955840e9f3ab4d731745f7 (diff) | |
download | nextcloud-server-backport/51126/stable31.tar.gz nextcloud-server-backport/51126/stable31.zip |
fix(cypress): wait for toast to appearbackport/51126/stable31
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
-rw-r--r-- | cypress/e2e/files/files.cy.ts | 3 |
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') }) }) |