-
Functional Test
-
Critical
-
Moodle 4.3
-
None
NOTE: The teacher and student on http://qa.moodle.net/ are using the 'Server's local time' which is UTC+8 . If you run this test on http://qa.moodle.net/ you might wish to change this to your own timezone to avoid time confusion issues.
This test requires a quiz with a time limit, a close date and "When time expires" set to "the attempt is submitted automatically". The time limit must be long enough so that the close date can expire before the time limit.
- Log in as a student, start a quiz attempt and answer some questions but not all, then log out.
- Wait until the close date has expired but the time limit has not then log in again and go to the quiz info page. This should cause the quiz attempt to be automatically submitted.
- Verify that you see that your attempt is finished, with those questions you had answered graded.
- Log out then log in as a teacher and check that the attempt is NOT shown as "In-progress".