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).

Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2026-01-06 14:56:20 +01:00 committed by Lucas Gass
parent 237d3deecf
commit b240cff51d
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 7 additions and 0 deletions

View File

@ -68,6 +68,13 @@ Cypress.on("uncaught:exception", (err, runnable) => {
return true;
});
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";