Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16759 Moodle 4.1 QA
  3. MDLQA-17364

CLONE - Question versioning data is restored on a fresh installation

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Major Major
    • Moodle 4.1
    • Moodle 4.1
    • 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. Scenario A.1.png
          Scenario A.1.png
          62 kB
        2. Scenario A.2.png
          Scenario A.2.png
          163 kB
        3. Scenario A.3.png
          Scenario A.3.png
          288 kB
        4. Scenario A.4.png
          Scenario A.4.png
          532 kB

            meowmiomew Ron Carl Alfon Yu
            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.