Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-14131 Moodle 3.9 QA
  3. MDLQA-14524

CLONE - A teacher can receive notification of an event they subscribed to

XMLWordPrintable

      Note:
      This test requires a site where notifications/emails are enabled. For this reason it is not possible to use the QA testing site.

      The test needs a course with a teacher and two students enrolled.

      The test site needs to have event monitoring enabled: site administration > reports > event monitoring rules > enable

      1. Log in as a teacher and go to a course where you have editing rights.
      2. Upload a file resource and name it 'Course contract'.
      3. Go to Course administration > Reports > Event monitoring rules and create a new rule named Contract, "Area to monitor" = File and Select an event =course module viewed. Choose your own description, frequency and notification message template.
      4. Go to User menu > preferences > Event monitoring and select the course. Subscribe to the rule you made, selecting 'Course contract' from the dropdown.
      5. Navigate to User menu > preferences > Notification preferences and verify email is "on" for both online and offline Event monitor subscriptions.
      6. Log in to the course as a student1 and click to download the file resource.
      7. Run cron (if it isn't automatically running)
      8. Verify that you receive an email to the teacher's email address with the name of the Event as the subject of the email and the notification message as the body of the email.
      9. Return to User menu > preferences > Notification preferences. Turn "off" email and turn "on" the web notifications for "Notifications of rule subscriptions".
      10. Log in as student2 and click to download the file resource.
      11. Run cron (if it isn't automatically running)
      12. Verify you receive a notification in the notification popover in the nav bar.
      13. Verify that you do not receive an email for that notification

        1. boost.png
          boost.png
          81 kB
        2. classic.png
          classic.png
          85 kB

            jbarcega Janelle Barcega
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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