https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475

            Bug ID: 38475
           Summary: InfiniteScrollSelect_spec.ts is failing again
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
        Depends on: 37620

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       |  
└────────────────────────────────────────────────────────────────────────────────────────────────┘


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37620
[Bug 37620] Fix randomly failing tests for
cypress/integration/InfiniteScrollSelect_spec.ts
-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to