We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d943659 commit 51b66dcCopy full SHA for 51b66dc
1 file changed
cypress/support/e2e.js
@@ -7,3 +7,16 @@ import chaiExtension from './chai.js'
7
before(() => {
8
chai.use(chaiExtension)
9
})
10
+
11
+Cypress.on('uncaught:exception', (err, runnable) => {
12
+ // Old files scripts attempt to iterate through views
13
+ // which do not exist anymore since 28.
14
+ // TODO: Remove this once
15
+ // https://github.com/nextcloud/server/pull/40065
16
+ // is merged.
17
+ if (err.message.includes('Cannot read properties of undefined (reading \'views\')')) {
18
+ return false
19
+ }
20
+ // we still want to ensure there are no other unexpected
21
+ // errors, so we let them fail the test
22
+})
0 commit comments