Bug 40181 - Cypress tests - Ensure that insertData does not leave data in the DB
Summary: Cypress tests - Ensure that insertData does not leave data in the DB
Status: Pushed to main
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Jonathan Druart
QA Contact: Martin Renvoize (ashimema)
URL:
Keywords:
Depends on: 40180
Blocks: 40301 40320
  Show dependency treegraph
 
Reported: 2025-06-18 21:26 UTC by Jonathan Druart
Modified: 2025-07-21 20:03 UTC (History)
2 users (show)

See Also:
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:


Attachments
Bug 40181: Make sure data won't be added by insertData (2.51 KB, patch)
2025-06-19 10:53 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 40181: Make sure data won't be added by insertData (2.52 KB, patch)
2025-07-10 12:30 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 40181: Make sure data won't be added by insertData (2.57 KB, patch)
2025-07-17 15:34 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 40181: Make sure data won't be added by insertData (2.63 KB, patch)
2025-07-18 11:24 UTC, Martin Renvoize (ashimema)
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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