From adee14d977e1ed32dc8a95ad1e2ba048778704e5 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Fri, 24 Nov 2023 02:16:07 +0100 Subject: [PATCH] fix(cypress): Ignore `ResizeObserver loop limit exceeded` errors Signed-off-by: Ferdinand Thiessen --- cypress/e2e/sharing/download-share-disabled.cy.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cypress/e2e/sharing/download-share-disabled.cy.ts b/cypress/e2e/sharing/download-share-disabled.cy.ts index b2621d666..42d8ec453 100644 --- a/cypress/e2e/sharing/download-share-disabled.cy.ts +++ b/cypress/e2e/sharing/download-share-disabled.cy.ts @@ -55,6 +55,13 @@ describe(`Download ${fileName} in viewer`, function() { }) it('Share the Photos folder with a share link and access the share link', function() { + cy.on('uncaught:exception', (err) => { + // This can happen because of blink engine handling animation, its not a bug just engine related. + if (err.message.includes('ResizeObserver loop limit exceeded')) { + return false + } + }) + cy.createLinkShare('/Photos').then(token => { // Open the sidebar cy.visit('/apps/files')