first commit
This commit is contained in:
3
server-ce/test/cypress/.gitignore
vendored
Normal file
3
server-ce/test/cypress/.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
downloads/
|
||||
results/
|
||||
data/
|
12
server-ce/test/cypress/support/e2e.js
Normal file
12
server-ce/test/cypress/support/e2e.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import '@testing-library/cypress/add-commands'
|
||||
|
||||
Cypress.on('uncaught:exception', (err, runnable) => {
|
||||
if (err.message.includes('ResizeObserver')) {
|
||||
// spurious error from PDF preview
|
||||
return false
|
||||
}
|
||||
if (err.message.includes('rcube_webmail')) {
|
||||
// spurious error from mailtrap
|
||||
return false
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user