Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-15457 Moodle 3.11 QA
  3. MDLQA-16006

CLONE - As an admin I want to backup my course including the content bank and restore in a different Moodle instance

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Passed
    • Priority: Minor
    • Affects Version/s: Moodle 3.11
    • Fix Version/s: Moodle 3.11
    • Component/s: Content bank, H5P
    • Labels:
      None

      Description

      This test requires admin access in two Moodle sites.

      1. Log as admin in one Moodle instance
      2. Create a course named C1
      3. Go to Content bank link in C1 course (link is in the drawer for Boost, in Navigation block -> Site pages for Classic)
      4. Click 'Upload' button to create a new content
      5. Upload helloworld.h5p file and Save changes
      6. Go to C1 course homepage
      7. Go to 'Backup' option in course cog menu
      8. Confirm 'Include content bank content' options is checked
      9. Click on 'Jump to final step'
      10. Confirm the backup file is successfully created and click Continue
      11. Download the new *.mbz back file
      12. Log in as admin in a different empty Moodle instance
      13. Go to Site administration > Courses > Restore course
      14. Import the backup file downloaded in step 11 and click on 'Restore'
      15. Confirm 'Include content bank content' is checked.
      16. Click on 'Continue'
      17. Select a category and click in Continue in 'Restore as a new course' section
      18. Confirm 'Include content bank content' is checked.
      19. Click on 'Next'
      20. Click on 'Next' using default settings
      21. Click on 'Perform restore'
      22. Confirm the course is restored successfully and click in 'Continue'
      23. Go to Content bank link in the new course (link is in the drawer for Boost, in Navigation block -> Site pages for Classic)
      24. Confirm 'helloworld.h5p' content is there
      25. Click on 'helloworld.h5p' content
      26. Confirm the image of the Earth is shown and there's no error

        Attachments

        1. helloworld.h5p
          35 kB
        2. MDLQA-16006_10.png
          MDLQA-16006_10.png
          54 kB
        3. MDLQA-16006_11.png
          MDLQA-16006_11.png
          107 kB
        4. MDLQA-16006_15.png
          MDLQA-16006_15.png
          85 kB
        5. MDLQA-16006_18.png
          MDLQA-16006_18.png
          61 kB
        6. MDLQA-16006_22.png
          MDLQA-16006_22.png
          59 kB
        7. MDLQA-16006_24.png
          MDLQA-16006_24.png
          46 kB
        8. MDLQA-16006_26.png
          MDLQA-16006_26.png
          361 kB
        9. MDLQA-16006_5.png
          MDLQA-16006_5.png
          46 kB
        10. MDLQA-16006_8.png
          MDLQA-16006_8.png
          74 kB

          Issue Links

            Activity

              People

              Assignee:
              Geshoski Mihail Geshoski
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: