Bug 38475

Summary: InfiniteScrollSelect_spec.ts is failing again
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: Test SuiteAssignee: Chris Cormack <chris>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 37620    
Bug Blocks:    

Description Katrin Fischer 2024-11-18 15:39:39 UTC
Always the same trouble makers:

19:05:26 koha_1       |                                                                                                     
19:05:26 koha_1       |   Running:  InfiniteScrollSelect_spec.ts                                                   (2 of 18)
19:05:26 koha_1       | <?xml version="1.0" encoding="UTF-8"?>
19:05:26 koha_1       | <testsuites name="Mocha Tests" time="28.823" tests="4" failures="1">
19:05:26 koha_1       |   <testsuite name="Root Suite" timestamp="2024-11-15T18:04:50" tests="0" file="t/cypress/integration/InfiniteScrollSelect_spec.ts" time="0.000" failures="0">
19:05:26 koha_1       |   </testsuite>
19:05:26 koha_1       |   <testsuite name="Infinite scroll" timestamp="2024-11-15T18:04:50" tests="4" time="28.798" failures="1">
19:05:26 koha_1       |     <testcase name="Infinite scroll Should load the next page on scroll" time="6.060" classname="Should load the next page on scroll">
19:05:26 koha_1       |     </testcase>
19:05:26 koha_1       |     <testcase name="Infinite scroll Should correctly submit the form" time="4.674" classname="Should correctly submit the form">
19:05:26 koha_1       |     </testcase>
19:05:26 koha_1       |     <testcase name="Infinite scroll Should correctly display labels" time="0.000" classname="Should correctly display labels">
19:05:26 koha_1       |       <failure message="Timed out retrying after 10000ms: `cy.wait()` timed out waiting `10000ms` for the 1st request to the route: `finalPage`. No request ever occurred.
19:05:26 koha_1       | 
19:05:26 koha_1       | https://on.cypress.io/wait" type="CypressError"><![CDATA[CypressError: Timed out retrying after 10000ms: `cy.wait()` timed out waiting `10000ms` for the 1st request to the route: `finalPage`. No request ever occurred.
19:05:26 koha_1       | 
19:05:26 koha_1       | https://on.cypress.io/wait
19:05:26 koha_1       |     at cypressErr (http://localhost:8081/__cypress/runner/cypress_runner.js:75187:18)
19:05:26 koha_1       |     at Object.errByPath (http://localhost:8081/__cypress/runner/cypress_runner.js:75242:10)
19:05:26 koha_1       |     at checkForXhr (http://localhost:8081/__cypress/runner/cypress_runner.js:134821:84)
19:05:26 koha_1       |     at <unknown> (http://localhost:8081/__cypress/runner/cypress_runner.js:134844:28)
19:05:26 koha_1       |     at tryCatcher (http://localhost:8081/__cypress/runner/cypress_runner.js:1807:23)
19:05:26 koha_1       |     at Promise.attempt.Promise.try (http://localhost:8081/__cypress/runner/cypress_runner.js:4315:29)
19:05:26 koha_1       |     at whenStable (http://localhost:8081/__cypress/runner/cypress_runner.js:143192:68)
19:05:26 koha_1       |     at <unknown> (http://localhost:8081/__cypress/runner/cypress_runner.js:143133:14)
19:05:26 koha_1       |     at tryCatcher (http://localhost:8081/__cypress/runner/cypress_runner.js:1807:23)
19:05:26 koha_1       |     at Promise._settlePromiseFromHandler (http://localhost:8081/__cypress/runner/cypress_runner.js:1519:31)
19:05:26 koha_1       |     at Promise._settlePromise (http://localhost:8081/__cypress/runner/cypress_runner.js:1576:18)
19:05:26 koha_1       |     at Promise._settlePromise0 (http://localhost:8081/__cypress/runner/cypress_runner.js:1621:10)
19:05:26 koha_1       |     at Promise._settlePromises (http://localhost:8081/__cypress/runner/cypress_runner.js:1701:18)
19:05:26 koha_1       |     at Promise._fulfill (http://localhost:8081/__cypress/runner/cypress_runner.js:1645:18)
19:05:26 koha_1       |     at <unknown> (http://localhost:8081/__cypress/runner/cypress_runner.js:5450:46)
19:05:26 koha_1       | From Your Spec Code:
19:05:26 koha_1       |     at Context.eval (webpack://koha/./t/cypress/integration/InfiniteScrollSelect_spec.ts:232:11)]]></failure>
19:05:26 koha_1       |     </testcase>
19:05:26 koha_1       |     <testcase name="Infinite scroll Should correctly display the label when editing" time="3.887" classname="Should correctly display the label when editing">
19:05:26 koha_1       |     </testcase>
19:05:26 koha_1       |   </testsuite>
19:05:26 koha_1       | </testsuites>
19:05:26 koha_1       | 
19:05:26 koha_1       |   (Results)
19:05:26 koha_1       | 
19:05:26 koha_1       |   ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
19:05:26 koha_1       |   │ Tests:        4                                                                                │
19:05:26 koha_1       |   │ Passing:      3                                                                                │
19:05:26 koha_1       |   │ Failing:      1                                                                                │
19:05:26 koha_1       |   │ Pending:      0                                                                                │
19:05:26 koha_1       |   │ Skipped:      0                                                                                │
19:05:26 koha_1       |   │ Screenshots:  0                                                                                │
19:05:26 koha_1       |   │ Video:        false                                                                            │
19:05:26 koha_1       |   │ Duration:     28 seconds                                                                       │
19:05:26 koha_1       |   │ Spec Ran:     InfiniteScrollSelect_spec.ts                                                     │
19:05:26 koha_1       |   └────────────────────────────────────────────────────────────────────────────────────────────────┘
Comment 1 Katrin Fischer 2024-11-18 15:40:01 UTC
https://jenkins.koha-community.org/job/Koha_Main/3118/
Comment 2 Katrin Fischer 2024-11-22 12:31:40 UTC
Still failing as of #3129

11:48:57 koha_1       |   Running:  InfiniteScrollSelect_spec.ts                                                   (2 of 18)
11:48:57 koha_1       | <?xml version="1.0" encoding="UTF-8"?>
11:48:57 koha_1       | <testsuites name="Mocha Tests" time="28.881" tests="4" failures="1">
11:48:57 koha_1       |   <testsuite name="Root Suite" timestamp="2024-11-22T10:48:29" tests="0" file="t/cypress/integration/InfiniteScrollSelect_spec.ts" time="0.000" failures="0">
11:48:57 koha_1       |   </testsuite>
11:48:57 koha_1       |   <testsuite name="Infinite scroll" timestamp="2024-11-22T10:48:29" tests="4" time="28.840" failures="1">
11:48:57 koha_1       |     <testcase name="Infinite scroll Should load the next page on scroll" time="5.738" classname="Should load the next page on scroll">
11:48:57 koha_1       |     </testcase>
11:48:57 koha_1       |     <testcase name="Infinite scroll Should correctly submit the form" time="5.023" classname="Should correctly submit the form">
11:48:57 koha_1       |     </testcase>
11:48:57 koha_1       |     <testcase name="Infinite scroll Should correctly display labels" time="0.000" classname="Should correctly display labels">
11:48:57 koha_1       |       <failure message="Timed out retrying after 10000ms: `cy.wait()` timed out waiting `10000ms` for the 1st request to the route: `finalPage`. No request ever occurred.
11:48:57 koha_1       | 
11:48:57 koha_1       | https://on.cypress.io/wait" type="CypressError"><![CDATA[CypressError: Timed out retrying after 10000ms: `cy.wait()` timed out waiting `10000ms` for the 1st request to the route: `finalPage`. No request ever occurred.
11:48:57 koha_1       | 

Passig for me locally... Help?