Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16759 Moodle 4.1 QA
  3. MDLQA-16889

CLONE - A teacher can set a quiz with a time limit

XMLWordPrintable

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

      1. Log in as a teacher, go to a course and create a quiz with time limit of 2 minutes and 'When time expires' to 'Open attempts are submitted automatically', then save changes.
      2. Add several questions to the quiz.
      3. Log out then log in as a student and attempt the quiz, answering at least one question, but not answering all the questions, then wait for the time left to reach zero.
      4. Verify that the attempt is submitted automatically and is listed as finished.
      5. Log out then log in as the teacher, update the quiz and change 'When time expires' to 'Attempts must be submitted before time expires, or they are not counted', then save changes.
      6. Log out then log in as a student and attempt the quiz, answering at least one question, but not answering all the questions, then immediately log out before the time left reaches zero. (Note that it is necessary to log out, otherwise the attempt will be submitted automatically.)
      7. Log in again as the student, then after the time has expired, go to the quiz.
      8. Verify that the attempt is listed as 'Never submitted'.
      9. Log out then log in as the teacher, update the quiz and change 'When time expires' to 'There is a grace period when open attempts can be submitted', set a submission grace period of say 1 minute then save changes.
      10. Log out then log in as a student and attempt the quiz, answering at least one question, but not answering all the questions, then wait for the time left to reach zero.
      11. Verify that a message is displayed saying 'This attempt is now overdue. It should already have been submitted. If you would like this quiz to be graded, you must submit it.'
      12. Click the button 'Submit all and finish'.
      13. Verify that the attempt is listed as finished.
      14. Attempt the quiz again, answering at least one question, but not answering all the questions, then wait for the time left to reach zero.
      15. Verify that a message is displayed saying 'This attempt is now overdue. It should already have been submitted. If you would like this quiz to be graded, you must submit it.'
      16. Wait for the grace period to expire then attempt to submit it.
      17. Verify that the attempt is listed as 'Never submitted'.

        1. (I) 11 Passed -- MDLQA-16889.png
          50 kB
          Kim Jared Lucas
        2. (I) 13 Passed -- MDLQA-16889.png
          56 kB
          Kim Jared Lucas
        3. (I) 17 Passed -- MDLQA-16889.png
          53 kB
          Kim Jared Lucas
        4. (I) 4 Passed -- MDLQA-16889.png
          50 kB
          Kim Jared Lucas
        5. (I) 8 Passed -- MDLQA-16889.png
          95 kB
          Kim Jared Lucas

            kimjared2121 Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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