From d34bd7115a6ca236d75ef32c2a793d3d8d025485 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 6 Jan 2026 14:56:20 +0100 Subject: [PATCH] Bug 40816: Ignore 'ResizeObserver loop limit exceeded' I have NO idea how to fix this error. I don't see it on the Koha UI, neither using Cypress UI. It seems safe for now to ignore this error (The internet says so). --- t/cypress/support/e2e.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/t/cypress/support/e2e.js b/t/cypress/support/e2e.js index cd200179b01..527da41550f 100644 --- a/t/cypress/support/e2e.js +++ b/t/cypress/support/e2e.js @@ -50,6 +50,13 @@ Cypress.on("window:before:load", win => { }; }); +Cypress.on("uncaught:exception", err => { + // Ignoring 'ResizeObserver loop limit exceeded' message from DataTables + if (err.message.match(/ResizeObserver loop limit exceeded/)) { + return false; + } +}); + function get_fallback_login_value(param) { var env_var = param == "username" ? "KOHA_USER" : "KOHA_PASS"; -- 2.43.0