[Bug 42783] New: Tools/ManageMarcImport_spec.ts is still flaky
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42783 Bug ID: 42783 Summary: Tools/ManageMarcImport_spec.ts is still flaky 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: pedro.amorim@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org I believe the fix from bug 42733 is good but surfaced a new race condition: 17:52:55 Running: Tools/ManageMarcImport_spec.ts (55 of 60) 17:52:55 <?xml version="1.0" encoding="UTF-8"?> 17:52:55 <testsuites name="Mocha Tests" time="11.417" tests="3" failures="1"> 17:52:55 <testsuite name="Root Suite" timestamp="2026-06-05T17:52:27" tests="0" file="t/cypress/integration/Tools/ManageMarcImport_spec.ts" time="0.000" failures="0"> 17:52:55 </testsuite> 17:52:55 <testsuite name="Breadcrumb tests" timestamp="2026-06-05T17:52:28" tests="1" time="3.121" failures="0"> 17:52:55 <testcase name="Breadcrumb tests Breadcrumbs" time="3.146" classname="Breadcrumbs"> 17:52:55 </testcase> 17:52:55 </testsuite> 17:52:55 <testsuite name="loads the manage MARC import page" timestamp="2026-06-05T17:52:31" tests="2" time="8.198" failures="1"> 17:52:55 <testcase name="loads the manage MARC import page loads the manage MARC import page" time="2.673" classname="loads the manage MARC import page"> 17:52:55 </testcase> 17:52:55 <testcase name="loads the manage MARC import page upload a MARC record" time="0.000" classname="upload a MARC record"> 17:52:55 <failure message="Background job failed: expected 'failed' to not equal 'failed'" type="AssertionError"><![CDATA[AssertionError: Background job failed: expected 'failed' to not equal 'failed' 17:52:55 at Context.eval (webpack://koha/./t/cypress/integration/Tools/ManageMarcImport_spec.ts:91:63) 17:52:55 17:52:55 + expected - actual 17:52:55 17:52:55 ]]></failure> 17:52:55 </testcase> 17:52:55 </testsuite> 17:52:55 </testsuites> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42783 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pedro.amorim@openfifth.co.u | |k Depends on| |42733 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42733 [Bug 42733] Tools/ManageMarcImport_spec.ts is failing (again) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42783 Pedro Amorim (ammopt) <pedro.amorim@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=42783 --- Comment #1 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Created attachment 200068 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200068&action=edit Bug 42783: Fix ManageMarcImport_spec.ts If import_batch_profiles is slow to respond, it'll trigger select.change() in stage-marc-import.tt and change the format to ISO2709 before the form is submitted, causing the error. cypress run --spec t/cypress/integration/Tools/ManageMarcImport_spec.ts -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42783 --- Comment #2 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Created attachment 200069 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200069&action=edit Bug 42783: [TEST ONLY] Force the CI/CD failure Apply this patch for testing only, it should fail: cypress run --spec t/cypress/integration/Tools/ManageMarcImport_spec.ts -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42783 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |jonathan.druart@gmail.com |y.org | CC| |martin.renvoize@openfifth.c | |o.uk Assignee|chris@bigballofwax.co.nz |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=42783 Jonathan Druart <jonathan.druart@gmail.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=42783 Jonathan Druart <jonathan.druart@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #200068|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42783 --- Comment #3 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 200078 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200078&action=edit Bug 42783: Fix ManageMarcImport_spec.ts If import_batch_profiles is slow to respond, it'll trigger select.change() in stage-marc-import.tt and change the format to ISO2709 before the form is submitted, causing the error. cypress run --spec t/cypress/integration/Tools/ManageMarcImport_spec.ts Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42783 Jonathan Druart <jonathan.druart@gmail.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=42783 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |26.11.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42783 --- Comment #4 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Thanks everyone! Pushed to main for 26.11! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42783 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Pushed to stable Version(s)|26.11.00 |26.11.00,26.05.01 released in| | CC| |lucas@bywatersolutions.com --- Comment #5 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Pushed to 26.05.x for upcoming 26.05.01 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42783 Bug 42783 depends on bug 42733, which changed state. Bug 42733 Summary: Tools/ManageMarcImport_spec.ts is failing (again) https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42733 What |Removed |Added ---------------------------------------------------------------------------- Status|Needs documenting |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42783 Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wainuiwitikapark@catalyst.n | |et.nz Version(s)|26.11.00,26.05.01 |26.11.00,26.05.01,25.05.12 released in| | --- Comment #6 from Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> --- Applied to 25.05 for 25.05.12 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42783 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au Keywords| |roadmap_25_11 --- Comment #7 from David Cook <dcook@prosentient.com.au> --- @bwoj it looks like you're up next. @wainui got to it before you did so it's showing up funny on https://dashboard.koha-community.org/maintenance -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42783 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|roadmap_25_11 |rel_25_11_candidate -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org