fix(cypress): wait for toast to appear

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
skjnldsv 2025-02-28 10:35:44 +01:00
parent 81073a7943
commit 07cfc843f0

View file

@ -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')
})
})