https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41178
--- Comment #8 from Pedro Amorim <[email protected]> --- Created attachment 194326 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194326&action=edit Bug 41178: Add cypress test Run: cypress run --spec t/cypress/integration/SIP2/Institutions.ts Test plan: 1) Create a SIP institution, visit: http://localhost:8081/cgi-bin/koha/sip2/institutions/add 2) Create a SIP account linked to the institution from 1): http://localhost:8081/cgi-bin/koha/sip2/accounts/add 3) Go back to institutions: http://localhost:8081/cgi-bin/koha/sip2/institutions 4) Click 'delete'. Confirm the delete confirmation message contains: 'It has 1 associated accounts...' 5) Confirm that, notice the institution (and linked account) were deleted as expected and alerted 6) Repeat the test plan for the 'view' page instead of 'list' page: http://localhost:8081/cgi-bin/koha/sip2/institutions/<id_here> 7) Repeat the test plan but using an institution without any linked accounts. Confirm the 'regular' delete message is shown, which contains only the institution name in the modal body. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
