From 463199622cb05356a27b6f0eceb28177cddfd328 Mon Sep 17 00:00:00 2001 From: Dmitry Kruchinin <33020454+dvkruchinin@users.noreply.github.com> Date: Wed, 23 Jun 2021 10:48:29 +0300 Subject: [PATCH] Fix uncaught:exception for Firefox (#3356) --- tests/cypress/support/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/cypress/support/index.js b/tests/cypress/support/index.js index 55b780d9d..0c42d26ae 100644 --- a/tests/cypress/support/index.js +++ b/tests/cypress/support/index.js @@ -17,7 +17,9 @@ before(() => { cy.closeModalUnsupportedPlatform(); }); -const resizeObserverLoopErr = 'ResizeObserver loop limit exceeded'; +// Chrome: ResizeObserver loop limit exceeded +// Firefox: ResizeObserver loop completed with undelivered notifications +const resizeObserverLoopErr = 'ResizeObserver loop'; Cypress.on('uncaught:exception', (err) => { // the exception is generated by cypress in some browsers if (err.message.includes(resizeObserverLoopErr)) { -- GitLab