overleaf/server-ce/test/cypress/support/e2e.js
Jakob Ackermann 8748ac7475 Merge pull request #19631 from overleaf/jpa-e2e-emails
[server-pro] add e2e test for accepting project invite via email

GitOrigin-RevId: c8391b57c1ee882499cfe5dc02817b5fadcd7ff4
2024-07-30 08:04:45 +00:00

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
}
})