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

--- Comment #24 from Kyle M Hall (khall) <[email protected]> ---
Created attachment 199320
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=199320&action=edit
Bug 41921: Add currently-running reports to the dashboard

Test plan
1) Apply patch, restart all the things
2) prove t/db_dependent/api/v1/reports_jobs.t t/db_dependent/Koha/Reports.t
3) Browse to /cgi-bin/koha/reports/jobs.pl
4) Confirm the page shows 'No reports are running right now.'
   when nothing is in flight, and that the background report
   jobs table renders as before
5) Create an SQL report with body SELECT SLEEP(60),
6) Run it from the staff client in foreground mode
7) Confirm a row appears in the Currently running table
7) Refresh the view with the refresh button, note the data changes
8) Let the foreground report finish
9) Confirm the row disappears from the "Currently running" table on the next
refresh
9) Run the same report as a background job
10) Confirm the row appears again with a Type of "background" while the
    worker is executing
11) Confirm the row disappears once the worker finishes from the running
    reports table when it has finished executing

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

Reply via email to