https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40173 --- Comment #1 from Jonathan Druart <jonathan.druart@gmail.com> --- Created attachment 183354 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=183354&action=edit Bug 40173: Make http-client reusable from Cypress tests We will need to call REST API endpoints from Cypress tests, and more specifically from Cypress's tasks. It will be useful to reuse what has been done in http-client.js instead of using the low-level fetch JS function. 1. Add missing get and getAll functions 2. Allow overwrite of return_response and mark_submitting 3. Add a "default" client that will bring flexibility (can call any routes) 4. Add rspack config to generate t/cypress/plugins/dist/api-client.cjs.js that will make it reusable from Cypress's tasks -- You are receiving this mail because: You are watching all bug changes.