[Bug 43120] New: KohaTable/PatronSearch_spec.ts is failing (randomly?)
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43120 Bug ID: 43120 Summary: KohaTable/PatronSearch_spec.ts is failing (randomly?) Initiative type: --- Sponsorship --- status: Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Test Suite Assignee: chris@bigballofwax.co.nz Reporter: jonathan.druart@gmail.com QA Contact: testopia@bugs.koha-community.org Target Milestone: --- Koha_Main/3854 08:19:00 <testsuite name="Filters" timestamp="2026-07-21T06:18:17" tests="1" time="0.000" failures="1"> 08:19:00 <testcase name="Filters Keep filters in the column filters" time="0.000" classname="Keep filters in the column filters"> 08:19:00 <failure message="Timed out retrying after 10000ms: Expected to find content: 'Showing 1 to 20 of 42 entries' within the element: <div.dt-info> but never did." type="AssertionError"><![CDATA[AssertionError: Timed out retrying after 10000ms: Expected to find content: 'Showing 1 to 20 of 42 entries' within the element: <div.dt-info> but never did. 08:19:00 at Context.eval (webpack://koha/./t/cypress/integration/KohaTable/PatronSearch_spec.ts:158:52) 08:19:00 at getRet (http://koha:8081/__cypress/runner/cypress_runner.js:120454:20) 08:19:00 at tryCatcher (http://koha:8081/__cypress/runner/cypress_runner.js:1777:23) 08:19:00 at Promise.attempt.Promise.try (http://koha:8081/__cypress/runner/cypress_runner.js:4285:29) 08:19:00 at Context.thenFn (http://koha:8081/__cypress/runner/cypress_runner.js:120465:66) 08:19:00 at Context.then (http://koha:8081/__cypress/runner/cypress_runner.js:120716:21) 08:19:00 at wrapped (http://koha:8081/__cypress/runner/cypress_runner.js:148798:19)]]></failure> 08:19:00 </testcase> 08:19:00 </testsuite> Same related failure on KohaTable_spec.ts 08:18:04 <testsuite name="Patrons search" timestamp="2026-07-21T06:16:06" tests="3" time="28.389" failures="2"> 08:18:04 <testcase name="kohaTable (using REST API) Patrons search Input search bar and clear filter " time="0.000" classname="Input search bar and clear filter "> 08:18:04 <failure message="Timed out retrying after 10000ms: Expected to find content: 'Showing 1 to 20 of 42 entries' within the element: <div.dt-info> but never did." type="AssertionError"><![CDATA[AssertionError: Timed out retrying after 10000ms: Expected to find content: 'Showing 1 to 20 of 42 entries' within the element: <div.dt-info> but never did. 08:18:04 at Context.eval (webpack://koha/./t/cypress/integration/KohaTable/KohaTable_spec.ts:605:56) 08:18:04 at getRet (http://koha:8081/__cypress/runner/cypress_runner.js:120454:20) 08:18:04 at tryCatcher (http://koha:8081/__cypress/runner/cypress_runner.js:1777:23) 08:18:04 at Promise.attempt.Promise.try (http://koha:8081/__cypress/runner/cypress_runner.js:4285:29) 08:18:04 at Context.thenFn (http://koha:8081/__cypress/runner/cypress_runner.js:120465:66) 08:18:04 at Context.then (http://koha:8081/__cypress/runner/cypress_runner.js:120716:21) 08:18:04 at wrapped (http://koha:8081/__cypress/runner/cypress_runner.js:148798:19)]]></failure> 08:18:04 </testcase> 08:18:04 <testcase name="kohaTable (using REST API) Patrons search Browse by last name" time="2.649" classname="Browse by last name"> 08:18:04 </testcase> 08:18:04 <testcase name="kohaTable (using REST API) Patrons search Prevent XSS when using description" time="0.000" classname="Prevent XSS when using description"> 08:18:04 <failure message="Timed out retrying after 10000ms: Expected to find content: 'Showing 1 to 20 of 42 entries' within the element: <div.dt-info> but never did." type="AssertionError"><![CDATA[AssertionError: Timed out retrying after 10000ms: Expected to find content: 'Showing 1 to 20 of 42 entries' within the element: <div.dt-info> but never did. 08:18:04 at Context.eval (webpack://koha/./t/cypress/integration/KohaTable/KohaTable_spec.ts:709:56) 08:18:04 at getRet (http://koha:8081/__cypress/runner/cypress_runner.js:120454:20) 08:18:04 at tryCatcher (http://koha:8081/__cypress/runner/cypress_runner.js:1777:23) 08:18:04 at Promise.attempt.Promise.try (http://koha:8081/__cypress/runner/cypress_runner.js:4285:29) 08:18:04 at Context.thenFn (http://koha:8081/__cypress/runner/cypress_runner.js:120465:66) 08:18:04 at Context.then (http://koha:8081/__cypress/runner/cypress_runner.js:120716:21) 08:18:04 at wrapped ( Note that we have just upgraded Cypress (bug 42772) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43120 --- Comment #1 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 202206 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=202206&action=edit Bug 43120: Add wait after a patron search is triggered Patch from commit e7aeb09 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43120 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pedro.amorim@openfifth.co.u | |k --- Comment #2 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- This should not be needed with the last patch in bug 41604 can you please test when convenient? -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org