Bug 40181

Summary: Cypress tests - Ensure that insertData does not leave data in the DB
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Test SuiteAssignee: Jonathan Druart <jonathan.druart>
Status: Pushed to main --- QA Contact: Martin Renvoize (ashimema) <martin.renvoize>
Severity: enhancement    
Priority: P5 - low CC: lucas, martin.renvoize
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: Small patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
25.11.00
Circulation function:
Bug Depends on: 40180    
Bug Blocks: 40301, 40320    
Attachments: Bug 40181: Make sure data won't be added by insertData
Bug 40181: Make sure data won't be added by insertData
Bug 40181: Make sure data won't be added by insertData
Bug 40181: Make sure data won't be added by insertData

Description Jonathan Druart 2025-06-18 21:26:05 UTC

    
Comment 1 Jonathan Druart 2025-06-19 10:53:27 UTC
Created attachment 183377 [details] [review]
Bug 40181: Make sure data won't be added by insertData

We are here testing that data inserted by insertData tasks can be easily
removed from the DB using deleteSampleObjects

Test plan:
Cypress test t/cypress/integration/t/insertData.ts must pass
Comment 2 Jonathan Druart 2025-07-10 12:30:07 UTC
Created attachment 183936 [details] [review]
Bug 40181: Make sure data won't be added by insertData

We are here testing that data inserted by insertData tasks can be easily
removed from the DB using deleteSampleObjects

Test plan:
Cypress test t/cypress/integration/t/insertData.ts must pass
Comment 3 Owen Leonard 2025-07-17 15:34:27 UTC
Created attachment 184211 [details] [review]
Bug 40181: Make sure data won't be added by insertData

We are here testing that data inserted by insertData tasks can be
easily removed from the DB using deleteSampleObjects

Test plan:
Cypress test t/cypress/integration/t/insertData.ts must pass

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 4 Martin Renvoize (ashimema) 2025-07-18 11:24:25 UTC
Created attachment 184337 [details] [review]
Bug 40181: Make sure data won't be added by insertData

We are here testing that data inserted by insertData tasks can be
easily removed from the DB using deleteSampleObjects

Test plan:
Cypress test t/cypress/integration/t/insertData.ts must pass

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Comment 5 Lucas Gass (lukeg) 2025-07-21 20:03:27 UTC
Nice work everyone!

Pushed to main for 25.11