-
Functional Test
-
Critical
-
Moodle 3.2
-
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 log out of Moodle.
2. Wait until the time limit has expired, but before the Quiz cron has run, then log back in as a teacher, and confirm that the attempt is still shown as In-progress.
3. Log in as a student, and go to the quiz info page. This will cause the quiz attempt to be automatically moved to the Overdue state.
4. Click the "Continue last attempt" button and you will be taken to the summary page, where you are told you can still submit up to a certain time.
5. Submit the attempt and confirm that the score is counted.