-
Functional Test
-
Critical
-
Moodle 3.0
-
None
Test Pre-requisites:
As teacher, create a quiz and set a time limit, a close date and set When time expires to "There is a grace period when open attempts can be submitted, but no more questions answered". Set Submission grace period to a suitable amount of time to let you do the tests below.
Test Steps:
1. As student, start a quiz attempt and answer some questions. Then leave the browser tab open until time expires.
2. You will be automatically redirected to the review page, and the quiz will move into the overdue state. There will be a message telling you the deadline before which you must submit.
3. Log in as teacher and check that the attempt State is "overdue".
4. Click the "Submit all and finish" button, and your attempt will be submitted and counted.
5.- As teacher, check that the attempt state is now "Finished"