e2e.ts 602 B

1234567891011121314
  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. // Remove with Node 22
  8. import 'core-js/actual/promise/with-resolvers.js'
  9. // Fix ResizeObserver loop limit exceeded happening in Cypress only
  10. // @see https://github.com/cypress-io/cypress/issues/20341
  11. Cypress.on('uncaught:exception', err => !err.message.includes('ResizeObserver loop limit exceeded'))
  12. Cypress.on('uncaught:exception', err => !err.message.includes('ResizeObserver loop completed with undelivered notifications'))