Skip to content

Commit

Permalink
Merge pull request #51126 from nextcloud/fix/wait-for-toast
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Feb 28, 2025
2 parents 951a35c + 07cfc84 commit 8213252
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress/e2e/files/files.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
})
})

0 comments on commit 8213252

Please sign in to comment.