Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-10-21 13:03:27 +0300
committerAzul <azul@riseup.net>2021-10-25 10:41:52 +0300
commit44f29af3598e0e12390495f79a8a3f553fb6c5b1 (patch)
tree65f4cb8c3d1eee54d92c5911d0c9582500efc43f /cypress
parenta4f18ed67a460d4605f6d9ba2cc4aca6b3e60cc9 (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.js3
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()
})