Koha-clms/t/cypress/integration
Jonathan Druart e1cbc7780a
Bug 39315: (bug 38108 follow-up) Add Cypress tests
1. We move from const to var so that we can modify the value of the
variable from the Cypress tests.

2. Also remove win.libraries_map as it seems that our code is no longer
failing if it's missing (we added more checks I guess)

3. Improved selectors for the show/hide filters links
-                    cy.get(".hide_filters").click();
+                    cy.get(`.${table_id}_table_controls .hide_filters`).click();

Test plan:
Both commands should pass
 yarn cypress run --spec t/cypress/integration/PatronSearch_spec.ts
 yarn cypress run --spec t/cypress/integration/t/mockData.ts

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2025-04-14 08:50:54 +02:00
..
Admin Revert "Bug 37917: Add some wait time to RecordSources_spec.ts for the intercepted request responses" 2024-10-11 11:13:48 +02:00
Auth Bug 35402: Fix cypress test csrf.ts 2024-09-13 16:06:27 +02:00
ERM Bug 37273: Fix Cypress tests 2025-03-24 10:32:52 +01:00
KohaTable Bug 39315: (bug 38108 follow-up) Add Cypress tests 2025-04-14 08:50:54 +02:00
Preservation Bug 37222: Standardize markup for sidebar menus 2025-02-21 16:41:24 +01:00
t Bug 39315: MockData - generate full objects for libraries and item types 2025-04-14 08:50:54 +02:00
AdditionalFields_spec.ts Bug 37577: (QA follow-up) Tidy 2024-11-08 16:09:19 +01:00
InfiniteScrollSelect_spec.ts Bug 37620: Fix Total-Count headers 2024-08-27 12:14:21 +02:00
flatpickr_spec.ts Revert "Bug 37493: [DONT PUSH] Test only - Force test fail" 2024-09-02 17:21:50 +02:00