Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions cypress/support/e2e.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,4 @@ Cypress.on('window:before:load', (win) => {

before(() => {
chai.use(chaiExtension)

Cypress.on('uncaught:exception', (err) => {
if (err.message.includes('ResizeObserver')) {
return false
}

if (err.message.includes('clearFocusTrap')) {
return false
}

return true
})
})

Cypress.on('uncaught:exception', (err, runnable) => {
// Old files scripts attempt to iterate through views
// which do not exist anymore since 28.
// TODO: Remove this once
// https://github.com/nextcloud/server/pull/40065
// is merged.
if (
err.message.includes("Cannot read properties of undefined (reading 'views')")
) {
return false
}
// we still want to ensure there are no other unexpected
// errors, so we let them fail the test
})
Loading