[Bug 44317] New: Cypress should ignore the new ResizeObserver browser warning
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44317 Bug ID: 44317 Summary: Cypress should ignore the new ResizeObserver browser warning Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Test Suite Assignee: chris@bigballofwax.co.nz Reporter: martin.renvoize@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org Target Milestone: --- Cypress specs can fail with "ResizeObserver loop completed with undelivered notifications", for example "Item List CRUD operations > should delete an item list" (t/cypress/integration/ItemLists_spec.ts), seen on Jenkins on 25-26 Nov 2026. This is the benign browser warning raised when a ResizeObserver callback cannot finish within a frame. Chrome 112 and later word it as "ResizeObserver loop completed with undelivered notifications"; older browsers say "ResizeObserver loop limit exceeded". The Cypress support file (t/cypress/support/e2e.js) only ignores the old wording, so Cypress treats the new one as an uncaught application exception and fails the test. The support file should ignore both messages (and only those). Test plan: 1. Run: yarn cypress run --spec t/cypress/integration/ItemLists_spec.ts with a recent Chrome. Before the patch, "should delete an item list" can fail with the error above. 2. Apply the patch and run it again: the spec no longer fails on that message. 3. Confirm unrelated uncaught exceptions still fail a test. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44317 --- Comment #1 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 212756 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212756&action=edit Bug 44317: Ignore the new ResizeObserver browser warning in Cypress Chrome 112+ reports the benign ResizeObserver warning as ResizeObserver loop completed with undelivered notifications. whereas the Cypress support file only ignores the older wording ('ResizeObserver loop limit exceeded'). Cypress treats the unmatched message as an uncaught application exception and fails the test, e.g. "Item List CRUD operations > should delete an item list" (t/cypress/integration/ItemLists_spec.ts). The warning is harmless (the observer callback just could not finish within a frame), so ignore both messages. Other uncaught exceptions are still reported. Test plan: 1. Run: yarn cypress run --spec t/cypress/integration/ItemLists_spec.ts with a recent Chrome/Chromium; "should delete an item list" can fail intermittently with the error above before the patch. 2. Apply the patch: the spec no longer fails on that message. 3. Verify unrelated errors still fail tests (e.g. throw a new Error('x') from a page script). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44317 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|chris@bigballofwax.co.nz |martin.renvoize@openfifth.c | |o.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44317 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44317 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44317 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pedro.amorim@openfifth.co.u | |k -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44317 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@gmail.com, | |matt.blenkinsop@openfifth.c | |o.uk -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org