e2e.ts 528 B

1234567891011
  1. /**
  2. * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: AGPL-3.0-or-later
  4. */
  5. import 'cypress-axe'
  6. import './commands.ts'
  7. // Fix ResizeObserver loop limit exceeded happening in Cypress only
  8. // @see https://github.com/cypress-io/cypress/issues/20341
  9. Cypress.on('uncaught:exception', err => !err.message.includes('ResizeObserver loop limit exceeded'))
  10. Cypress.on('uncaught:exception', err => !err.message.includes('ResizeObserver loop completed with undelivered notifications'))