This test requires a quiz containing several questions, and When time expires set to Submit attempt automatically.
1. Login as a teacher, edit the settings for the quiz and set a time limit.
2. Login as a student, access the quiz and check that the time limit is stated.
3. Attempt the quiz and check that the time left is displayed on each page, including the summary page.
4. Answer some but not all of the questions and allow the time to run out.
5. Check that when the time runs out, the quiz is submitted automatically with whatever answers have been filled in.