Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-5249 QA tests converted to behat
  3. MDLQA-7637

A student can redo questions during a quiz

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Open
    • Priority: Blocker
    • Affects Version/s: Master copy - DO NOT REPORT TEST RESULTS HERE
    • Fix Version/s: None
    • Component/s: Questions, Quiz, Student, Teacher
    • Labels:
      None

      Description

      NOTE:

      1. This test requires a course with editing teacher and student access. Ideally, there will be existing questions in the question bank including a calculated question.
      2. Step 10 through 18 will not work if the random questions are not set up with hints for multiple tries.

      TEST:
      1) As a teacher in a course, turn on the editing and add a quiz.
      2) For Question behaviour choose 'Immediate feedback'.
      3) Click to Show more, and for 'Allow redo within an attempt', select 'Students may redo...'
      4) Click Save and Display>Edit quiz and add one random question and one calculated question. Do not include essay questions.
      5) As the student, attempt the quiz. Get the first question wrong. Verify you see a "Redo question" button and click it.
      6) Verify you get a different question of the same type (if you have several questions in that category in your question bank) Get the question right. Verify you see a "Redo question" button.
      7) Answer the calculated question incorrectly. Verify you see a "Redo question" button.
      8) Redo the calculated question two times, either answering correctly or incorrectly and verify you get a different set of numbers each time, although the question is the same.
      9) Finish the quiz as a student and log back in as the teacher.
      10) Duplicate the quiz and change the Question behaviour to 'Interactive with multiple tries.'
      11) As a student, attempt the quiz.
      12) Verify that if you get the random question wrong you can 'try again' with the same question.
      13) Verify that when you can no longer try again, you see the "Redo question" button.
      14) Click the "redo question" button and verify you get a different question of the same type (if you have several questions in that category in your question bank)
      15) Verify that if you get the calculated question wrong you can try again with the same question.
      16) Verify that when you can no longer try again you see the button "Redo question"
      17) Click the "Redo question" button and verify you get a different set of numbers, although the question is the same.
      18) Log back in as the teacher and for each quiz click 'Review attempt' for the student and verify you see all the questions attempted by clicking the links in the grey 'Response history' box.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: