Skip to content

Commit

Permalink
fix(cypress): ResizeObserver loop undelivered notifications error
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <chrng8@gmail.com>

[skip ci]
  • Loading branch information
Pytal authored and backportbot[bot] committed Mar 13, 2024
1 parent 5688d98 commit 313d968
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cypress/support/e2e.ts
Expand Up @@ -25,3 +25,4 @@ import './commands.ts'
// Fix ResizeObserver loop limit exceeded happening in Cypress only
// @see https://github.com/cypress-io/cypress/issues/20341
Cypress.on('uncaught:exception', err => !err.message.includes('ResizeObserver loop limit exceeded'))
Cypress.on('uncaught:exception', err => !err.message.includes('ResizeObserver loop completed with undelivered notifications'))

0 comments on commit 313d968

Please sign in to comment.