From 44f29af3598e0e12390495f79a8a3f553fb6c5b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 21 Oct 2021 12:03:27 +0200 Subject: Avoid failing tests due to page reload conditions causing exceptions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- cypress/integration/share.spec.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cypress') 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() }) -- cgit v1.2.3