[Bug 38475] New: InfiniteScrollSelect_spec.ts is failing again
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: chris@bigballofwax.co.nz Reporter: katrin.fischer@bsz-bw.de QA Contact: testopia@bugs.koha-community.org 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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- https://jenkins.koha-community.org/job/Koha_Main/3118/ -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- 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? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|InfiniteScrollSelect_spec.t |InfiniteScrollSelect_spec.t |s is failing again |s is failing randomly again -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@gmail.com --- Comment #3 from Jonathan Druart <jonathan.druart@gmail.com> --- Koha_Main/3160 Docker_15 17:39:47 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. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matt.blenkinsop@ptfs-europe | |.com --- Comment #4 from Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> --- I'm wondering if this has something to do with the fact that we're using 'await this.$nextTick' - the test passes fine locally but I can get it to fail when I limit the cpu usage. I have a suspicion that when the test is running much slower the nextTicks aren't happening as expected and that is causing elements/requests to not load and fail the tests I'll keep digging -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Thanks so much, Matt! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 --- Comment #6 from Jonathan Druart <jonathan.druart@gmail.com> --- Koha_Main 3217 on Docker_15 19:18:22 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. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 Jonathan Druart <jonathan.druart@gmail.com> 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=38475 --- Comment #7 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 184884 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=184884&action=edit Bug 38475: Skip some tests in InfiniteScrollSelect_spec They are failing randomly for too long. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|chris@bigballofwax.co.nz |jonathan.druart@gmail.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 --- Comment #8 from Jonathan Druart <jonathan.druart@gmail.com> --- They keep failing randomly. As we don't manage to fix them we should skip them for now. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 David Nind <david@davidnind.com> 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=38475 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #184884|0 |1 is obsolete| | --- Comment #9 from David Nind <david@davidnind.com> --- Created attachment 189484 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189484&action=edit Bug 38475: Skip some tests in InfiniteScrollSelect_spec They are failing randomly for too long. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #10 from David Nind <david@davidnind.com> --- Testing notes (using KTD): 1. After patch, yarn cypress run --spec t/cypress/integration/InfiniteScrollSelect_spec.ts shows 4 tests, 2 passing and 2 pending Spec Tests Passing Failing Pending Skipped ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ ✔ InfiniteScrollSelect_spec.ts 00:08 4 2 - 2 - │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ ✔ All specs passed! 00:08 4 2 - 2 - -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 Nick Clemens (kidclamp) <nick@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #189484|0 |1 is obsolete| | --- Comment #11 from Nick Clemens (kidclamp) <nick@bywatersolutions.com> --- Created attachment 189654 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189654&action=edit Bug 38475: Skip some tests in InfiniteScrollSelect_spec They are failing randomly for too long. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |nick@bywatersolutions.com |y.org | CC| |lucas@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |25.11.00 released in| | Status|Passed QA |Pushed to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 --- Comment #12 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Nice work everyone! Pushed to main for 25.11 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 Paul Derscheid <paul.derscheid@lmscloud.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Pushed to stable Version(s)|25.11.00 |25.11.00,25.05.06 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 --- Comment #13 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Nice work everyone! Pushed to 25.05.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|25.11.00,25.05.06 |25.11.00,25.05.06,24.11.11 released in| | CC| |fridolin.somers@biblibre.co | |m Status|Pushed to stable |Pushed to oldstable --- Comment #14 from Fridolin Somers <fridolin.somers@biblibre.com> --- Pushed to 24.11.x for 24.11.11 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to oldstable |Needs documenting CC| |wainuiwitikapark@catalyst.n | |et.nz --- Comment #15 from Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> --- Depends on bug not in 22.11.x Not backporting to 22.11.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|Needs documenting |RESOLVED --- Comment #16 from David Nind <david@davidnind.com> --- Test suite related, no change to the manual required. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38475 --- Comment #17 from Jonathan Druart <jonathan.druart@gmail.com> --- Koha_Main/3840 13:45:04 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: `getPageTwo`. No request ever occurred. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org