mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
fix(cypress): wait for toast to appear
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
81073a7943
commit
07cfc843f0
1 changed files with 2 additions and 1 deletions
|
|
@ -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')
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue