Koha-clms/t/cypress/integration
Jonathan Druart 0aaf193a75
Bug 40169: mockData - Do not replace _id if passed
If we build an object and pass a primary key (ie. suffixed by _id) we
should not replace it.

Test plan:
The test highlights the problem, it won't affect existing tests.
0. Apply only the first patch (Cypress tests)
1. Run yarn cypress run t/cypress/integration/t/mockData.ts
=> It fails
2. Apply this patch
=> It passes

Signed-off-by: David Nind <david@davidnind.com>

Amended-by: Jonathan Druart
Remove .only

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2025-07-15 16:32:54 -06:00
..
Acquisitions Bug 38899: Fix cypress tests 2025-06-11 14:02:47 -06: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 40170: Replace cypress-mysql with mysql2 - Cypress tests 2025-07-08 15:42:03 -06:00
ERM Bug 38899: Fix Cypress tests 2025-07-07 10:20:28 -06:00
Islands Bug 40170: Replace cypress-mysql with mysql2 - Cypress tests 2025-07-08 15:42:03 -06:00
KohaTable Bug 40170: Replace cypress-mysql with mysql2 - Cypress tests 2025-07-08 15:42:03 -06:00
Preservation Bug 37930: Extend new AV logic to the Preservation module 2025-04-25 08:46:57 +02:00
Tools Bug 40046: Use xml and auto-select it 2025-07-07 10:20:26 -06:00
t Bug 40169: mockData - Do not replace _id if passed 2025-07-15 16:32:54 -06: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
Toolbar_spec.ts Bug 38899: Add a cypress test 2025-06-11 14:02:44 -06:00
flatpickr_spec.ts Revert "Bug 37493: [DONT PUSH] Test only - Force test fail" 2024-09-02 17:21:50 +02:00