diff options
Diffstat (limited to 'cypress/e2e/files/files.cy.ts')
-rw-r--r-- | cypress/e2e/files/files.cy.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cypress/e2e/files/files.cy.ts b/cypress/e2e/files/files.cy.ts index ac82086360f..2d6475c8250 100644 --- a/cypress/e2e/files/files.cy.ts +++ b/cypress/e2e/files/files.cy.ts @@ -46,12 +46,13 @@ describe('Files', { testIsolation: true }, () => { }) }) - it('Opens an unknown file show an error', () => { + it.only('Opens an unknown file show an error', () => { cy.intercept('PROPFIND', /\/remote.php\/dav\//).as('propfind') cy.login(currentUser) 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: 10000 }).should('be.visible') }) }) |