-
Functional Test
-
Minor
-
Moodle 4.3
-
None
Test prerequisites
- This test requires a course with a teacher and at least three students enrolled.
- The course should have two groups, Group A and Group B.
- Three students,x, y, and z such that:
- x is in group A
- y is in group B
- z is both group A and B
Test
- As a teacher, access a course and create an assignment.
- Set an "Allow submissions from" date, a 'Due date", and a "Cut-off date" (defaults are fine).
- Save the assignment.
- Return to the assignment set up screen and click "Overrides" in the more menu. Then select "Group overrides" from the drop-down.
- Create a group override for Group A - set the months to one month forward from the original date (e.g. June)
- Create a group override for Group B - set the months to one month forward from the previous group override (e.g. July)
- Create a user override for student x - set the months to one month forward from the previous group override (e.g. August)
- Access the grading screen and verify that:
- All the dates for student x match the user override set previously
- All the dates for student y match the override set for Group B
- All the dates for student z match the override set for Group A
- Log in as student x, y, and z and verify that the assignment submission page dates match the dates on the grading screen from before
- Return to the assignment set up screen and click "Overrides" in the more menu. Then select "Group overrides" from the drop-down.
- Click the down arrow next to Group A's override
- Verify the position of Group A and Group B has swapped in the list
- Access the grading screen, verify that all the dates for student z now match the override set for Group B
- Hide the activity from students via the course home page
- Revisit the user and group overrides and verify that:
- All actions are present for the respective override, namely 'edit', 'copy' and 'delete'
- You see a notice explaining that the override is inactive for "User overrides".
- has a non-specific relationship to
-
MDL-29795 Add user/group overrides for mod/assign
- Closed