aboutsummaryrefslogtreecommitdiffstats
path: root/cypress/support
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2023-09-27 10:30:55 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2023-10-10 15:28:52 +0200
commit35aed73edeffebb9b924cdd13e8b9881f1cd07ab (patch)
tree3956665427f1b98fd5c84ef1920361366a5fdf85 /cypress/support
parent9de246d74f72e290197efd0335aacc6f854cbc9a (diff)
downloadnextcloud-server-35aed73edeffebb9b924cdd13e8b9881f1cd07ab.tar.gz
nextcloud-server-35aed73edeffebb9b924cdd13e8b9881f1cd07ab.zip
feat: allow external drop and add dropzone
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'cypress/support')
-rw-r--r--cypress/support/e2e.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/cypress/support/e2e.ts b/cypress/support/e2e.ts
index 9fbd8784ede..2bc91f83ebd 100644
--- a/cypress/support/e2e.ts
+++ b/cypress/support/e2e.ts
@@ -20,3 +20,7 @@
*
*/
import './commands.ts'
+
+// Fix ResizeObserver loop limit exceeded happening in Cypress only
+// @see https://github.com/cypress-io/cypress/issues/20341
+Cypress.on('uncaught:exception', err => !err.message.includes('ResizeObserver loop limit exceeded'))