https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33260
--- Comment #618 from Martin Renvoize (ashimema) <[email protected]> --- Created attachment 209925 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209925&action=edit Bug 33260: (follow-up) Add Cypress tests for the notices pages Cover the notices management page, the Notices tab of a patron and the print page: * The access to the page: the preference, the permission. * The filters: status, notice type, patron category, patron library and the dates, which are inclusive, alone and together, and with the search form. * What staff members who cannot see all the patrons see and can do, with IndependentBranches: only the notices of their library, which they cannot print or convert for another one, and no filter for the library. * Printing: each notice is shown in a frame that cannot run scripts, with a script and an event handler in the content that do not run, and that is shown in full; the notices that contain a secret, the pending notices that are not print notices and the converted notices are not printed; showing a notice does not change it, printing it does. * Converting to print: the print notice that is queued, the link between the two notices, the notices that can be converted, what is shown when the CONVERTED_TO_PRINT notice does not exist and when it has an error, and that the original is then not changed. The preferences and the CONVERTED_TO_PRINT notice that are changed are restored afterwards, and the patrons and staff members created are removed. To test: 1. Apply the patches 2. Run $ ktd --shell k$ yarn cypress run --spec t/cypress/integration/Tools/NoticesManagement_spec.ts => SUCCESS: Tests pass! 3. Sign off :-D Co-Authored-By: Claude Sonnet 5.5 <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected] website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
