diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-10-21 13:03:27 +0300 |
---|---|---|
committer | Azul <azul@riseup.net> | 2021-10-25 10:41:52 +0300 |
commit | 44f29af3598e0e12390495f79a8a3f553fb6c5b1 (patch) | |
tree | 65f4cb8c3d1eee54d92c5911d0c9582500efc43f /cypress | |
parent | a4f18ed67a460d4605f6d9ba2cc4aca6b3e60cc9 (diff) |
Avoid failing tests due to page reload conditions causing exceptions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'cypress')
-rw-r--r-- | cypress/integration/share.spec.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cypress/integration/share.spec.js b/cypress/integration/share.spec.js index 7747f3822..7ec10d518 100644 --- a/cypress/integration/share.spec.js +++ b/cypress/integration/share.spec.js @@ -52,6 +52,9 @@ describe('Open test.md in viewer', function() { .should('contain', 'test.md') }) after(function () { + cy.on('uncaught:exception', (err, runnable) => { + return false + }) cy.visit('/apps/files') cy.logout() }) |