Koha-clms/t/cypress/integration
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
..
Acquisitions Bug 38201: Fix cypress tests 2025-10-02 09:40:02 -06:00
Admin Bug 41336: (follow-up) Fix breadcrumb selector in Cypress test 2025-12-03 08:20:03 -07:00
Auth Bug 40170: Replace cypress-mysql with mysql2 - Cypress tests 2025-07-08 15:42:03 -06:00
ERM Bug 39320: (QA follow-up): Fix cypress 2026-01-13 15:03:27 -07:00
Islands Bug 40170: Replace cypress-mysql with mysql2 - Cypress tests 2025-07-08 15:42:03 -06:00
KohaTable Bug 38311: Fix Selenium and Cypress tests 2025-12-02 10:07:20 -07:00
Patron Bug 40245: Update cypress test to handle ShowPatronFirstnameIfDifferentThanPreferredname 2025-11-07 10:54:11 -07:00
Preservation Bug 38201: Remove DT warnings from Cypress tests 2025-10-02 09:40:34 -06:00
SIP2 Bug 37893: (QA follow-up): Update cypress tests 2025-11-18 11:21:19 -07:00
Tools Bug 41177: Adjust Cypress tests 2025-11-25 10:13:27 -07:00
t Bug 40345: Add insertSamplePatron 2025-07-21 14:01:25 -06:00
AdditionalFields_spec.ts Bug 38446: Add a dedicated route to retrieve ERM-related additional fields 2025-11-17 15:15:38 -07:00
Breadcrumbs_spec.ts Bug 38201: Add VueFramework cypress tests 2025-10-02 09:40:16 -06:00
InfiniteScrollSelect_spec.ts Bug 38475: Skip some tests in InfiniteScrollSelect_spec 2025-11-18 06:56:53 -07:00
PatronSearchDebounce_spec.ts Bug 41039: Add cypress tests 2025-11-18 06:56:54 -07:00
Toolbar_spec.ts Bug 40430: Fix Toolbar_spec.ts 2025-07-21 14:01:28 -06:00
VueFramework_spec.ts Bug 38201: Cypress fixes 2025-10-02 09:40:30 -06:00
flatpickr_spec.ts Revert "Bug 37493: [DONT PUSH] Test only - Force test fail" 2024-09-02 17:21:50 +02:00