https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41306

--- Comment #10 from Matt Blenkinsop <[email protected]> ---
Created attachment 209294
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=209294&action=edit
Bug 41306: Add cypress tests

The list test and the provider page test open the "Run now" dialog,
check that the dialog asks for months, that the current month is
greyed out, pick a month of last year, and check that the request
carries the first and the last day of the chosen months. The list test
also checks that the end picker greys out the months before the begin
month, and that the queued jobs message links to each job.

Test plan:
yarn cypress run --spec t/cypress/integration/ERM/DataProviders_spec.ts
Manual:
1. Open a usage data provider and click "Run now"
2. Check that the current month and later are greyed out in both pickers
3. Pick a begin month, open the end picker: earlier months are greyed out
4. Run and check one job per month and report type in the message

Assisted-by: Fable 5.1 (Anthropic)

-- 
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/

Reply via email to