-
Functional Test
-
Minor
-
Moodle 4.1
-
None
Test requirements:
- A course with one teacher, one non-editing teacher and several students
- A course badge with badge criteria set to manual issue by role with teacher and non-editing teacher selected, and access enabled
- Several groups in the course, with students allocated to the groups and the non-editing teacher added to just one group
Test steps:
- Log in as the teacher, edit the course settings and set the group mode to separate groups.
- Go to the award badge page (via Course administration > Manage badges) and select Teacher as the role you would like to use to award the badge.
- Check that the award badge page has a separate groups dropdown menu with options 'All participants' and all the groups in the course.
- Select one of the groups and check that only those group members are listed as potential badge recipients.
- Log out then log in as the non-editing teacher (or use a different browser to log in as the non-editing teacher).
- Go to the award badge page and select Non-editing teacher as the role you would like to use to award the badge.
- Check that the award badge page has a Separate groups label like Separate groups: [[group_name]] with [[group_name]] is the name of the group containing the non-editing teacher (as the non-editing teacher doesn't have the capability to view all groups).
- Check that only those group members are listed as potential badge recipients.
- Log out then log in again as the editing teacher, edit the course settings and set the group mode to visible groups.
- Repeat steps 2 to 4, this time checking that the dropdown menu on the award badge page is labelled visible groups.
- Log out then log in as the non-editing teacher.
- Repeat steps 2 to 4, this time checking that the dropdown menu on the award badge page is labelled visible groups with options 'All participants', the non-editing teacher's group listed under 'My groups' and all the other groups listed under 'Other groups'.
- Log out then log in again as the editing teacher, edit the course settings and set the group mode to no groups.
- Repeat steps 2 to 4, this time checking that there is no groups dropdown menu on the award badge page and all students enrolled in the course are listed as potential badge recipients.
- Log out then log in as the non-editing teacher.
- Repeat steps 2 to 4, this time checking that there is no groups dropdown menu on the award badge page and all students enrolled in the course are listed as potential badge recipients.
- is a QA test written for
-
MDL-62836 Make awarding badges groups/groupings compliant
- Closed