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

CLONE - An admin can create a custom report and share it with 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 "Access" tab and verify that the user is listed
      9. Press the "Schedules" tab
      10. 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"
      11. Verify that you can see your newly created report schedule
      12. 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
      13. Navigate to Users > Permissions > Define roles in site administration
      14. Edit the "Authenticated" user role and allow the "moodle/site:configview" capability then save changes
      15. Log out then log in as the test user you previously granted access to the report
      16. Navigate to Reports > Report builder > Custom reports in site administration
      17. Verify that you can see the report granted access to you
      18. Press on the name to view it
      19. Verify that the report is shown as designed
      20. Press "Filters", modify the report filters, and verify that they are applied

      Attachments

        1. bug-notification-each-minute-with-cron.png
          bug-notification-each-minute-with-cron.png
          162 kB
        2. bugtoedit-schedule-details-16724.png
          bugtoedit-schedule-details-16724.png
          178 kB
        3. step10-16724.png
          step10-16724.png
          189 kB
        4. step11-16724.png
          step11-16724.png
          155 kB
        5. step12-16724.png
          step12-16724.png
          82 kB
        6. step15-16724.png
          step15-16724.png
          74 kB
        7. step18-16724.png
          step18-16724.png
          297 kB
        8. step20-16724.png
          step20-16724.png
          141 kB
        9. step3-16724.png
          step3-16724.png
          91 kB
        10. step4-16724.png
          step4-16724.png
          448 kB
        11. step7-16724.png
          step7-16724.png
          194 kB
        12. step8-16724.png
          step8-16724.png
          141 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.