Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-8722 Moodle 3.0.x PHP5/PHP7 QA
  3. MDLQA-8902

CLONE - When the close date expires before the time limit, the quiz will be submitted automatically when the quiz cron runs.

    XMLWordPrintable

Details

    • Functional Test
    • Minor
    • Moodle 3.0
    • Moodle 3.0
    • Quiz, Student, Teacher
    • None

    Description

      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 before the time limit has passed. CRON has not been run yet.
      3. CRON runs!
      4. Log in as teacher, and you should be able to see that the attempt has been updated to finished and no longer "In-progress".
      5. Log in as student, and you should see that the attempt has been submitted.

      Attachments

        Activity

          People

            markn Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: