https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44091 --- Comment #1 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 211681 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211681&action=edit Bug 44091: Delete the patron categories created by the NoticesManagement Cypress spec t/cypress/integration/Tools/NoticesManagement_spec.ts creates its patrons with insertSamplePatron, which also creates a patron category with a random name for each of them. The spec deletes the patrons it creates in its 'after' hook, but not their categories, so they were left in the database after each run. Remember the categories that are created, and delete them once the patrons are deleted. To test: 1. Go to Administration > Patron categories and note the categories 2. Run: yarn cypress run --spec t/cypress/integration/Tools/NoticesManagement_spec.ts 3. Reload 'Patron categories' 4. Without the patch, there are new categories with random names (about one for each patron the spec creates) 5. With the patch, there are none, the categories are the same as in step 1 (run the spec twice to be sure) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.