Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16122 Moodle 4.0 QA
  3. MDLQA-16685

CLONE - As a teacher I can change the version of a question directly in the quiz

    XMLWordPrintable

Details

    Description

      This test case is an exploratory test case about the newly introduced feature of changing question versions directly on the quiz edit page. So please feel free to try anything you like and not just the test steps!

      This test requires a Moodle course with a teacher and a enrolled.

      Create a quiz and a questions with several versions

      1. Log in as a teacher in your Moodle course.
      2. Turn editing on and create a new quiz X.
        1. Check that "Attempts allowed" is set to "Unlimited".
        2. Check that all check boxes for "Review options > Immediately after the attempt" are ticked.
      3. Add a new question A (of any type) and save (= version 1).
      4. Verify that question A is labeled "v1 (latest)".
      5. Edit question A and save (= version 2).
      6. Verify that question A is still labeled "v1". In addition you can choose "Always latest" and "v2 (latest)" from the versions dropdown.
      7. Edit question A a second time and save (= version 3)
      8. Verify that question A is still labeled "v1". In addition you can choose "Always latest", "v2", and "v3 (latest)" from the versions dropdown.
      9. Set the version of question A to "v1".
      10. Keep being logged in as a teacher.

      Access quiz as student to check if correct version is displayed

      1. Open a second browser and log in as student in your Moodle course.
      2. Navigate to the quiz X.
      3. Access question A and verify that version 1 is displayed.
      4. While keeping your attempt as student open, as a teacher change the version of question A in quiz X to version 2.
      5. As a student, verify that you still see version 1 and that the version did NOT change to version 2 (reload the page).
      6. As a student hand in you first attempt.
      7. Verify that in the review of your first attempt  version 1 of question A is displayed.
      8. As a student start a second attempt and verify that the version of question A is now version 2 (as set in step 5).
      9. As a student hand in your second attempt.
      10. Verify that in the review of your second attempt version 2 of question A is displayed. 

      Check question version in results overview and manual grading

      1. As a teacher now navigate to quiz X then "Results" .
      2. In the results overview search for your student and click on "Review attempt" for his first attempt.
      3. Verify that version 1 of question A is displayed.
      4. In the review change to the second attempt of your student.
      5. Verify that version 2 of question A is displayed.
      6. Finish your review.

      Following this test case you tested if the display of versions in an open attempt as well as in a closed attempt for students and teachers works as intended:  The question version when a student starts an attempt should NOT change any more. Neither while the attempt is still open, nor once it is closed. This is to make sure students' answers in quizzes (especially exams) will always be transparent.

      Attachments

        1. version-1.png
          version-1.png
          29 kB
        2. version-1-still.png
          version-1-still.png
          102 kB
        3. version-1-still-3.png
          version-1-still-3.png
          102 kB
        4. student-version-1.png
          student-version-1.png
          22 kB
        5. student-version-1-still.png
          student-version-1-still.png
          22 kB
        6. student-2ndattempt-review-v2.png
          student-2ndattempt-review-v2.png
          51 kB
        7. teacher-review1-v1.png
          teacher-review1-v1.png
          50 kB
        8. teacher-review2-v2.png
          teacher-review2-v2.png
          43 kB

        Activity

          People

            mspall Michael Spall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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