Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-74996

Add a warning if quiz is being submitted with unanswered questions

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_401_STABLE
    • MDL-74996-master-1
    • Hide

      Covered by newly created PHPUnit and Behat

      Manual testing steps as below

      Initial setup

      1. Create a new course called C1.
      2. Create a new student account and enrol to C1.
      3. Navigate to the Question bank of C1 and create 2 new questions called Q1 and Q2 (Ex: True/False questions).
      4. Create a Quiz activity called Quiz 1 with the Navigation method set to Free (Quiz settings > Layout > Show more... > Navigation method).
      5. Create a Quiz activity called Quiz 2 with the Navigation method set to Sequential.
      6. Add Q1 and Q2 questions into Quiz 1 and Quiz 2.

      Free navigation

      1. Log in as a student.
      2. Navigate to Quiz 1.
      3. Press Attempt quiz.
      4. Select False on the Q1 question.
      5. Press Next page.
      6. Do not answer the Q2 question.
      7. Press Finish attempt...
      8. Verify that you will see the status of Q1 is Answer saved.
      9. Verify that you will see the status of Q2 is Not yet answered.
      10. Press Submit all and finish.
      11. Verify that you see a warning dialogue.
      12. Verify that the title of the dialogue is: Submit all your answers and finish?
      13. Verify that the content of the dialogue is: Once you submit your answers, you won’t be able to change them.
      14. Verify that you will see a warning message with the content: Questions without a response: 1
      15. Verify that you will see two action buttons: Cancel and Submit all and finish.
      16. Click on Submit all and finish button.
      17. Verify that you can submit the attempt normally.

      Sequential navigation

      1. Log in as a student.
      2. Navigate to Quiz 2.
      3. Press Attempt quiz.
      4. Select False on the Q1 question.
      5. Press Next page.
      6. Do not answer the Q2 question.
      7. Press Finish attempt...
      8. Verify that you will see the status of Q1 is Answer saved.
      9. Verify that you will see the status of Q2 is Not yet answered.
      10. Press Submit all and finish.
      11. Verify that you see a warning dialogue.
      12. Verify that the title of the dialogue is: Submit all your answers and finish?
      13. Verify that the content of the dialogue is: Once you submit your answers, you won’t be able to change them.
      14. Verify that you will not see a warning message with the content: Questions without a response: 1
      15. Verify that you will see two action buttons: Cancel and Submit all and finish.
      16. Click on Submit all and finish button.
      17. Verify that you can submit the attempt normally.
      Show
      Covered by newly created PHPUnit and Behat Manual testing steps as below Initial setup Create a new course called C1. Create a new student account and enrol to C1. Navigate to the Question bank of C1 and create 2 new questions called Q1 and Q2 (Ex: True/False questions). Create a Quiz activity called Quiz 1 with the Navigation method set to Free (Quiz settings > Layout > Show more... > Navigation method). Create a Quiz activity called Quiz 2 with the Navigation method set to Sequential . Add Q1 and Q2 questions into Quiz 1 and Quiz 2. Free navigation Log in as a student. Navigate to Quiz 1. Press Attempt quiz. Select False on the Q1 question. Press Next page. Do not answer the Q2 question. Press Finish attempt... Verify that you will see the status of Q1 is Answer saved. Verify that you will see the status of Q2 is Not yet answered. Press Submit all and finish. Verify that you see a warning dialogue. Verify that the title of the dialogue is: Submit all your answers and finish? Verify that the content of the dialogue is: Once you submit your answers, you won’t be able to change them. Verify that you will see a warning message with the content: Questions without a response: 1 Verify that you will see two action buttons: Cancel and Submit all and finish. Click on Submit all and finish button. Verify that you can submit the attempt normally. Sequential navigation Log in as a student. Navigate to Quiz 2. Press Attempt quiz. Select False on the Q1 question. Press Next page. Do not answer the Q2 question. Press Finish attempt... Verify that you will see the status of Q1 is Answer saved. Verify that you will see the status of Q2 is Not yet answered. Press Submit all and finish. Verify that you see a warning dialogue. Verify that the title of the dialogue is: Submit all your answers and finish? Verify that the content of the dialogue is: Once you submit your answers, you won’t be able to change them. Verify that you will not see a warning message with the content: Questions without a response: 1 Verify that you will see two action buttons: Cancel and Submit all and finish. Click on Submit all and finish button. Verify that you can submit the attempt normally.
    • 3
    • HQ Team International CIH2-226

      This issue aims to fulfill the following user story: As a student attempting to submit a quiz, I want to be informed if I have left any questions unanswered, so that I can achieve the best grade possible by not unintentionally missing potential marks.

      The key task in this improvement is to update the existing confirmation modal (where students confirm they really want to submit the quiz). If the student has left any questions unanswered, then a message should be added to the modal to hilight this. This additional information should not be displayed in cases where the quiz does not support going back to past questions, since there is no benefit to being informed you have missed questions you cannot go back and answer (this would only be a source of added stress).

      Prototype

      Prototype link for this improvement

            huongn@moodle.com Huong Nguyen
            michaelh Michael Hawkins
            Tim Hunt Tim Hunt
            Jun Pataleta Jun Pataleta
            John Edward Pedregosa John Edward Pedregosa
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 days, 1 hour, 26 minutes
                4d 1h 26m

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