-
Functional Test
-
Minor
-
Moodle 4.4
-
None
Note: This test cannot be done on the QA site as it requires a site where notifications are enabled and where users have working emails.
You need a course with a standard forum, a teacher and two students, student 1 and student 2
- Log in as the teacher and access the forum. Ensure or verify that subscription is optional in Administration>Forum administration>Subscription mode.
- Post a new thread called "Example one" with a test message.
- Post a second new thread called "Example two" with a test message.
- Log in as student 1 and click the toggle icon to the right of the Example one discussion to subscribe to it. Do not subscribe to Example two.
- Log in as student 2 and click the toggle icon to the right of Example two discussion to subscribe to it. Do not subscribe to Example one.
- Log in as the teacher and post replies to both Example one and Example two.
- As student 1 go to your email inbox and verify you have the reply for Example one but NOT the reply for Example two.
- As student 2 go to your email inbox and verify you have the reply for Example two but NOT the reply for Example one.
- Log back in as student 1 and click the toggle icon of Example two to subscribe to it.
- Log back in as student 2 and click to unsubscribe from Example 2.
- As student 2 post replies to both Example one and Example 2 (making sure that the subscription box is not ticked).
- As student 1, go to your email inbox and verify you have replies from both discussions, Example one and Example two.
- As student 2, go to your email inbox and verify you have NOT received replies from either thread.