diff --git a/cypress/support/e2e.js b/cypress/support/e2e.js index b6ca34662..358fb9e21 100644 --- a/cypress/support/e2e.js +++ b/cypress/support/e2e.js @@ -16,5 +16,9 @@ // Import commands.js using ES2015 syntax: import './commands.js' +Cypress.on('uncaught:exception', (err) => { + return !err.message.includes('ResizeObserver loop limit exceeded'), +}) + // Alternatively you can use CommonJS syntax: // require('./commands')