Skip to content

Commit

Permalink
fix(cypress): Ignore ResizeObserver loop limit exceeded errors
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux committed Nov 24, 2023
1 parent 360f486 commit 8a48aa6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cypress/e2e/sharing/download-share-disabled.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 8a48aa6

Please sign in to comment.