Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-7170 Moodle 2.8 QA
  3. MDLQA-7349

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

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Passed
    • Priority: Minor
    • Affects Version/s: Moodle 2.8
    • Fix Version/s: Moodle 2.8
    • Component/s: Quiz, Student, Teacher
    • Labels:
      None

      Description

      Test Pre-requisites:

      1. A quiz where the teacher has set a time limit, a close date and When time expires is set to "There is a grace period when open attempts can be submitted but no more questions answered"
      2. Last submission grace period (graceperiodmin) set to 10

      Test Steps:
      1. As student, start a quiz attempt and answer some questions but not all, then log out of Moodle.
      2. Wait until time limit + last submission grace period has expired and Before the close date 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

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: