mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-24 21:12:38 -04:00
8748ac7475
[server-pro] add e2e test for accepting project invite via email GitOrigin-RevId: c8391b57c1ee882499cfe5dc02817b5fadcd7ff4
12 lines
317 B
JavaScript
12 lines
317 B
JavaScript
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
|
|
}
|
|
})
|