Open felipecao opened 7 months ago
Currently running into this as well – has this been triaged at all?
Noticing same issue with Cypress 13.12 and I have this
Cypress.on(
"uncaught:exception",
(err) => !err.message.includes("ResizeObserver loop"),
);
Current behavior
When trying to automate the process of logging into a GSuite account with the new Google layout, inputting the user email works fine, but then, when transitioning to the password screen, a
ResizeObserver loop completed with undelivered notifications
is thrown, Cypress cannot catch it with the usualCypress.on('uncaught:exception')
command, and the test fails consistently.Desired behavior
I'd expect the fallback exception handler (
Cypress.on('uncaught:exception')
) to kick in and prevent the test from crashing.Test code to reproduce
I've put together a small project to demo the error: https://github.com/felipecao/cypress-error-demo
Please notice that:
Cypress.on('uncaught:exception')
handler declared on/support/e2e.js
, which doesn't seem to be invoked when the error is thrownCypress Version
13.7.2
Node version
v20.11.1
Operating System
Sonoma 14.3.1
Debug Logs
Other
No response