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

            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.