Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-11698 Moodle 3.5 QA testing
  3. MDLQA-11833

CLONE - A user can receive message notifications via popup, email or jabber




      This test requires a Jabber server to be configured for the site. An email and jabber account which can be checked are also required.

      1. Log in as student1
      2. Click on Toggle notifications menu in the header and then click on cog icon (Notification preferences)
      3. Select Web, Jabber and Email for both online and offline for Assignment notifications and subscribed forum posts. If the jabber column is not displayed enter your Jabber ID (Jabber setting icon).
      4. Click on Toggle message menu in the header and then click on cog icon (Message preferences)
      5. Select Jabber and Email for both online and offline for Personal messages between users.
      6. Subscribe to a forum.
      7. Submit an assignment.
      8. Log in as student2 and send a message to student1.
      9. Post in the forum which student1 is subscribed to. Make the subject of the forum post very long i.e. more than 100 characters and include some UTF8 characters e.g. accents, €.
      10. Log in as a teacher and grade student1's submitted assignment.
      11. For the student to receive notification, you need to first wait for the maximum editing time (usually 30 minutes) to expire and then run the cron. (The wait is so that the teacher can edit the feedback without a notification being sent, similar to forum post editing and forum notifications.)
      12. Run the cron by browsing to yourmoodlesite.org/admin/cron.php.
      13. Check the student1's email for following:
        • confirm submission of the assignment (caused by step 7)
        • notification about the message sent by student2 (caused by step 8)
        • notification about the new post in the forum (caused by step 9)
        • notification about the grading (caused by step 10)
      14. Check that student1 received the assignment, forum and personal message notifications via jabber.
      15. Log in as student1 and check you see 3 next to notification icon and 1 next to message icon in header.
      16. Click on Toggle notification menu icon and ensure you can see Assignment and forum notifications
      17. Click on Toggle message menu icon and ensure you see Message sent by student2




            emdalton1 Elizabeth Dalton
            0 Vote for this issue
            3 Start watching this issue