https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41249
--- Comment #4 from Pedro Amorim <[email protected]> --- Created attachment 189622 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189622&action=edit Bug 41249: Add cypress tests cypress run --spec t/cypress/integration/ILL/Batches_spec.ts Test plan: 1) Enable ILLModule 2) Install a backend compatible with ILL batches + AutoILLBackendPriority sys pref: https://github.com/openfifth/koha-ill-backend-plugin/releases/tag/v2.0.8 3) Install a metadata enrichment plugin (required for ILL batches): https://github.com/openfifth/koha-plugin-api-pubmed/releases/tag/1.1.1 4) Enable AutoILLBackendPriority sys pref by checking 'PluginBackend' 5) Visit the ILL module: <staff_url>/cgi-bin/koha/ill/ill-requests.pl 6) Notice the 'New ILL requests batch' shows. Click that. 7) Enter any name, '42' for cardnumber and any library. Click 'Continue'. 8) On t'he textarea that shows enter the following pubmed IDs (separated by new line) 123 321 456 9) Notice that PluginBackend will sometimes be red, sometimes be yellow and sometimes be green. This is a test backend and that will happen randomly. Repeat step 8) for more test result samples. 10) Notice that, when green, PluginBackend will be pre-selected. When yellow, it'll allow you to select it but not pre-select it and when red doesnt allow it to be selected at all. 11) Play around with the selection of backends and click 'Add items to batch' and verify that each request was created in the respective selected backend. -- 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/
