Skip to content

Commit

Permalink
Avoid failing tests due to page reload conditions causing exceptions
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <jus@bitgrid.net>
  • Loading branch information
juliusknorr committed Oct 21, 2021
1 parent aa53c8c commit 246ae8b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cypress/integration/share.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
Expand Down

0 comments on commit 246ae8b

Please sign in to comment.