Koha-clms/t/cypress/integration
Chloe Zermatten 763dc46e31
Bug 10190: (follow-up): test: cypress tests update
New tests:
- regression: mtt cells render as .fallback (bold italics)
- bg-success-subtle highlight on completed steps in the add flow
- disabled-Delete states:
  - patron category filter set
  - item type filter set
  - default library, if any library has a trigger higher that default's highest
- redirect to admin home if not permitted to access the page
- in the edit/add stepper form
  - check row actions are enabled at the 'selectOrAdd' step
  - check row actions are disabled once add mode is entered
- check the action column is always available on the main page

Clean up / general updates:
- replace the /api/v1/** catch-all intercept with per-endpoint intercepts so @get-rules waits resolve reliably
- remove now-redundant cy.wait("@get-rules") calls
- drop unused mount / dayjs / dates imports
- ensure expected strings match UI where strings have changed

Assisted-by: Claude Opus 4.7 (Anthropic)

AI used to draft enhancements tests. Changes were reviewed, tweaked, and commited manually and gradually (with a pre-submission commit squash). Tests were run multiple times and adjusted iteratively to match code changes, cover regressions as those were found, and handle vue page load.

Sponsored-by: Glasgow Colleges Library Group <https://library.cityofglasgowcollege.ac.uk>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-09-10 14:25:19 +00:00
..
Acquisitions Bug 42605: Add automated tests 2026-08-28 16:36:33 +00:00
Admin Bug 10190: (follow-up): test: cypress tests update 2026-09-10 14:25:19 +00:00
Auth Bug 42066: Add a Cypress test 2026-07-16 17:05:02 +00:00
Circulation Bug 42862: Use current-relative dates in bookingsModalDatePicker_spec.ts 2026-06-29 15:38:59 +00:00
ERM Bug 42801: Fix race condition in ERM/UsageReports_spec.ts 2026-07-17 13:49:06 +00:00
ILL Bug 43354: Fix ILL request table search 2026-09-01 15:42:00 +00:00
Islands Bug 42772: Cypress.env => cy.env 2026-07-20 12:45:01 +00:00
KohaTable Bug 43174: (QA follow-up) Restore user choices on redraw independent of search state 2026-07-31 13:40:30 +00:00
OPAC Bug 42772: Cypress.env => cy.env 2026-07-20 12:45:01 +00:00
Patron Bug 42423: Add a Cypress test 2026-04-23 09:25:08 -06:00
Preservation Bug 40191: Update Cypress tests for split button navigation changes 2026-01-22 09:25:55 -07:00
SIP2 Bug 39829: Allow custom title in SIP responses 2026-09-03 10:56:52 +00:00
Tools Bug 42783: Fix ManageMarcImport_spec.ts 2026-06-08 14:16:25 +00:00
t Bug 41587: (follow-up) Remove unused imports causing webpack node: URI errors 2026-03-20 15:16:23 +00:00
AdditionalFields_spec.ts Bug 38446: Add a dedicated route to retrieve ERM-related additional fields 2025-11-17 15:15:38 -07:00
BiblioFrameworkCode_spec.ts Bug 42606: Add Cypress tests 2026-05-26 08:37:34 -06:00
Breadcrumbs_spec.ts Bug 38201: Add VueFramework cypress tests 2025-10-02 09:40:16 -06:00
HttpClient_spec.ts Bug 42705: Add HttpClient_spec.ts 2026-06-02 15:07:21 +00:00
InfiniteScrollSelect_spec.ts Bug 40191: Update Cypress tests for split button navigation changes 2026-01-22 09:25:55 -07:00
PatronSearchDebounce_spec.ts Bug 41039: Add cypress tests 2025-11-18 06:56:54 -07:00
Sidebar_spec.ts Bug 42322: Add Cypress tests 2026-08-25 08:56:46 +00:00
Toolbar_spec.ts Bug 40430: Fix Toolbar_spec.ts 2025-07-21 14:01:28 -06:00
VueFramework_spec.ts Bug 38262: Fix VueFramework_spec.ts 2026-02-12 07:58:40 -07:00
flatpickr_spec.ts Revert "Bug 37493: [DONT PUSH] Test only - Force test fail" 2024-09-02 17:21:50 +02:00