Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16122 Moodle 4.0 QA
  3. MDLQA-16734

CLONE - An admin can create a custom report and schedule it to be emailed to other users

    XMLWordPrintable

Details

    Description

      This test requires a site with configured email working, and cron running on the recommended frequency. The test also requires a test user with an email that can be checked.

      1. Log in as admin
      2. Navigate to Reports > Report builder > Custom reports in site administration
      3. Press New report
        • Choose a name for your report
        • Select the Users report source
        • Tick Include default setup
      4. Press Save
      5. Verify that you are now viewing the report editor
      6. Press the "Audience" tab
      7. Add the "Manually added users" audience and select the test user to grant access to this report and press "Save changes"
      8. Press the "Schedules" tab
      9. Press "New schedule"
        • Choose a name for the schedule
        • Set starting from to be some time in the near future (so you don't have to wait too long)
        • Select the audience you already created
        • Add a subject and message
        • Press "Save"
      10. Verify that you can see your newly created report schedule
      11. Once the time you set the schedule to begin has passed, check that your test user received an email containing the message content with the report content attached as a file
      12. Reload the report editor Schedules tab
      13. Verify that the Time last sent row column was updated appropriately
      14. From the schedule action menu, press Send schedule
      15. Confirm that you want to send immediately
      16. (After the next cron run) Check that your test user received an email containing the message content with the report content attached as a file.

      Attachments

        1. step10-MDLQA-16734.png
          step10-MDLQA-16734.png
          144 kB
        2. step11-MDLQA-16734.png
          step11-MDLQA-16734.png
          182 kB
        3. step11-MDLQA-16734-1.png
          step11-MDLQA-16734-1.png
          182 kB
        4. step12-MDLQA-16734.png
          step12-MDLQA-16734.png
          150 kB
        5. step12-MDLQA-16734-1.png
          step12-MDLQA-16734-1.png
          150 kB
        6. step14-15-MDLQA-16734.png
          step14-15-MDLQA-16734.png
          190 kB
        7. step16-MDLQA-16734.png
          step16-MDLQA-16734.png
          86 kB
        8. step5-MDLQA-16734.png
          step5-MDLQA-16734.png
          502 kB
        9. step5-MDLQA-16734-1.png
          step5-MDLQA-16734-1.png
          502 kB
        10. step6-MDLQA-16734.png
          step6-MDLQA-16734.png
          202 kB
        11. step6-MDLQA-16734-1.png
          step6-MDLQA-16734-1.png
          202 kB

        Issue Links

          Activity

            People

              c.prudhomme Clement Prudhomme
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: