Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-18443 Moodle 4.4 QA
  3. MDLQA-18895

CLONE - Question versioning data is restored on a fresh installation

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Major Major
    • Moodle 4.4
    • Moodle 4.4
    • Questions, Quiz

      This QA tests requires a server so you can create a fresh moodle install (current).

      Setup

      1. Create a fresh install of Moodle.
      2. Confirm that installation completes successfully.
      3. Log in as an admin
      4. Set up a course and access to the question bank
      5. Add a quiz with at least 3-4 questions, please use different types of questions to get a better feeling of the patch.
      6. Create a new user
      7. Enrol that user as a student in that course

      Testing scenario A.1. Version of questions

      1. Edit the questions created during setup, to create some versions for those questions
      2. Save changes and go to the edit page again
      3. Confirm:
        1. That you can see Version 2 instead of version 1
        2. Every time a question is edited, a new version is created

      Testing scenario A.2. Quiz considers the version of questions

      1. Create a new question category
      2. Add some questions to it
      3. Setup a quiz
      4. Add those questions to the quiz
      5. Use the created category as a random question
      6. Change the versions for the questions in the regular questions in quiz
      7. Login as student
      8. Attempt the quiz
      9. Confirm
        1. Quiz uses the version selected in an attempt
        2. Random question picks up the questions from the selected question category

      Testing scenario A3. Question data in restore (same site)

      1. Backup the course and save the .mbz file on the local device
      2. Restore the previous backup file in the same site as a new course
      3. Confirm:
        1. The restored questions are available and working as expected
        2. The restored quiz has all the questions
        3. The restored quiz has all the attempts
        4. All the files are available in the restores questions
        5. Preview of the questions are working as expected

      Testing scenario A.4. Question data in restore (different site)

      1. Setup a new site
      2. Restore the previous backup course (created in scenario A3) on that site
      3. Confirm:
        1. The restored questions are available and working as expected
        2. The restored quiz has all the questions
        3. The restored quiz has all the attempts
        4. All the files are available in the restores questions
        5. Preview of the questions are working as expected

        1. MDLQA-18895_1.png
          MDLQA-18895_1.png
          118 kB
        2. MDLQA-18895_2-1.png
          MDLQA-18895_2-1.png
          100 kB
        3. MDLQA-18895_2-2.png
          MDLQA-18895_2-2.png
          136 kB
        4. MDLQA-18895_2-3.png
          MDLQA-18895_2-3.png
          128 kB
        5. MDLQA-18895_2-4.png
          MDLQA-18895_2-4.png
          57 kB
        6. MDLQA-18895_2-5.png
          MDLQA-18895_2-5.png
          45 kB
        7. MDLQA-18895_3-1.png
          MDLQA-18895_3-1.png
          54 kB
        8. MDLQA-18895_3-2.png
          MDLQA-18895_3-2.png
          112 kB
        9. MDLQA-18895_3-3.png
          MDLQA-18895_3-3.png
          50 kB
        10. MDLQA-18895_3-4.png
          MDLQA-18895_3-4.png
          83 kB
        11. MDLQA-18895_3-5.png
          MDLQA-18895_3-5.png
          37 kB
        12. MDLQA-18895_3-6.png
          MDLQA-18895_3-6.png
          129 kB
        13. MDLQA-18895_3-7.png
          MDLQA-18895_3-7.png
          115 kB
        14. MDLQA-18895_3-8.png
          MDLQA-18895_3-8.png
          114 kB
        15. MDLQA-18895_3-9.png
          MDLQA-18895_3-9.png
          83 kB
        16. MDLQA-18895_4-1.png
          MDLQA-18895_4-1.png
          152 kB
        17. MDLQA-18895_4-2.png
          MDLQA-18895_4-2.png
          102 kB
        18. MDLQA-18895_4-3.png
          MDLQA-18895_4-3.png
          127 kB
        19. MDLQA-18895_4-4.png
          MDLQA-18895_4-4.png
          117 kB
        20. MDLQA-18895_4-5.png
          MDLQA-18895_4-5.png
          59 kB

            andelacruz Angelia Dela Cruz
            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.