Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-17933 Moodle 4.3 QA
  3. MDLQA-18410

CLONE - Question versioning data is restored on a fresh installation

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Major Major
    • Moodle 4.3
    • Moodle 4.3
    • 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

            mikelmartíncorrales Mikel Martín Corrales
            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.