https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40383 --- Comment #35 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 194331 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194331&action=edit Bug 40383: (QA follow-up) Update Cypress tests to follow current best practices Remove before()/after() DB hooks — all assertions already use cy.intercept mocks so no real database messages are needed. Extract repeated button injection into an openEDIModal() helper. Replace all cy.wait(N) fixed-time waits with assertion-based waits and cy.wait('@alias') for network sync. Fix a Bootstrap 5 race condition in the modal-close cleanup test where hidden.bs.modal fired after the backdrop animation, causing the re-opened modal's focus class to be removed mid-test. -- You are receiving this mail because: You are watching all bug changes.