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

--- Comment #12 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 196534
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196534&action=edit
Bug 41368: Fix ManageMarcImport Cypress test timing issue

Replace the `#job_callback` existence check (which passed immediately
since the div is always present in the DOM) with a wait on the progress
bar gaining `bg-success` class. This class is added by job_progress.js
only when the background job has genuinely finished, ensuring the
finish_callback has already fired and "View batch" is present before
Cypress tries to click it -- eliminating the 10s timeout race on slow CI.

-- 
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