aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorskjnldsv <skjnldsv@protonmail.com>2025-02-28 10:35:44 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-02-28 16:03:54 +0000
commitb58497d2a36fa26fb2eb247352260e0e91c95537 (patch)
treec2f1d6b2317b7d2fa076f69c36df70f7e7325dfe
parent52163b49054e7e782d955840e9f3ab4d731745f7 (diff)
downloadnextcloud-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.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')
})
})