Koha-clms/t/cypress/integration/Tools
Martin Renvoize ba6872eb2e
Bug 41368: Fix ManageMarcImport Cypress test timing issue
Replace the no-op `#job_callback` existence check with a recursive
`cy.wait('@jobPoll')` that loops through each `/api/v1/jobs/*` poll
response (arriving every ~1s) until it sees `status: finished`. This
avoids any fixed timeout — the test proceeds as soon as the API signals
completion, however long that takes on a given machine.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit c513dee502)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
2026-04-22 16:35:55 +01:00
..
ManageMarcImport_spec.ts Bug 41368: Fix ManageMarcImport Cypress test timing issue 2026-04-22 16:35:55 +01:00