-
Functional Test
-
Blocker
-
Moodle 3.11
-
None
This test requires a lesson activity containing more than one question.
1. Login as a teacher, update the lesson activity and set the maximum grade to 100, 'Student can re-take' to Yes and 'Handling of re-takes' to 'Use mean'.
2. Login as a student and attempt the activity twice.
3. Check that the grade for the activity is the mean of the two attempts.
4. Login as the teacher, update the lesson activity and change 'Handling of re-takes' to 'Use maximum'.
5. Login as the student and check that grade shown in the gradebook is the maximum of the two attempts.
6. Login as the teacher, update the lesson activity and set 'Student can re-take' to No.
7. Login as the student, access the lesson activity and check that the message 'You are not allowed to retake this lesson.' is displayed.