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".