Koha-clms/t/cypress/support
Pedro Amorim 70b276c1d2
Bug 39320: (QA follow-up): Fix cypress
These tests have always passed for me running cypress on UI, before and after this patch.
CLI tests however, were flaky and often times failed.
It appears this is because each module refresh was flooding the server with HTTP requests causing the whole thing to bottleneck (?)
With this patch, all widget requests are stubbed for every widget test, and tests now pass on CLI consistently. Passed 10/10 for me, whereas before it failed more often than passed.

Run this:
for i in {1..10}; do   cypress run --spec t/cypress/integration/ERM/ModuleDashboard_spec.ts; done

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2026-01-13 15:03:27 -07:00
..
component-index.html Bug 38201: Add missing newlines at end of file 2025-10-02 09:40:32 -06:00
component.ts Bug 38201: Add component tests for useBaseResource 2025-10-02 09:40:21 -06:00
e2e.js Bug 39320: (QA follow-up): Fix cypress 2026-01-13 15:03:27 -07:00