mirror of
https://github.com/nextcloud/richdocuments.git
synced 2025-12-17 21:12:14 +01:00
22 lines
407 B
JavaScript
22 lines
407 B
JavaScript
/**
|
|
* SPDX-FileCopyrightText: 2023 Julius Härtl <jus@bitgrid.net>
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
import './commands.js'
|
|
|
|
Cypress.Screenshot.defaults({
|
|
overwrite: true,
|
|
capture: 'viewport',
|
|
})
|
|
|
|
Cypress.on('uncaught:exception', (err) => {
|
|
if (err.message.includes('ResizeObserver')) {
|
|
return false
|
|
}
|
|
|
|
if (err.message.includes('fetchpriority')) {
|
|
return false
|
|
}
|
|
|
|
return true
|
|
})
|