aboutsummaryrefslogtreecommitdiffstats
path: root/cypress
diff options
context:
space:
mode:
Diffstat (limited to 'cypress')
-rw-r--r--cypress/support/e2e.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/cypress/support/e2e.ts b/cypress/support/e2e.ts
index 9fbd8784ede..2bc91f83ebd 100644
--- a/cypress/support/e2e.ts
+++ b/cypress/support/e2e.ts
@@ -20,3 +20,7 @@
*
*/
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'))