Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-13517 Moodle 3.8 QA
  3. MDLQA-13682

CLONE - When the close date expires before the time limit, the quiz will be submitted automatically when the student accesses quiz


    • Icon: Functional Test Functional Test
    • Icon: Critical Critical
    • Moodle 3.8
    • Moodle 3.8
    • Quiz, Student, Teacher
    • None

      Test Pre-requisites:
      A quiz where the teacher has set a time limit, a close date and "When time expires" to "the attempt is submitted automatically". The time limit must be long enough so that the close date can expire before the time limit.

      Test Steps:
      1. As student, start a quiz attempt and answer some questions but not all, then log out of Moodle.
      2. Wait until the close date has expired but the time limit has not, which must be BEFORE the quiz cron runs (hourly), then log back in as a teacher and make sure that the attempt is still shown as In-progress.
      3. Then log in as a student, and go to the quiz info page. This should cause the quiz attempt to be automatically submitted, so you should see that your attempt is finished, with those questions you had answered graded.
      4. Log in as a teacher and check that the attempt is no longer "In-progress".

            mcolliver Martyn Colliver
            0 Vote for this issue
            1 Start watching this issue


                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.