Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-16122 Moodle 4.0 QA
  3. MDLQA-16645

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


    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • Moodle 4.0
    • Moodle 4.0
    • Content bank, H5P
    • None

      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 More option in the secondary navigation).
      4. Click 'Upload' button to create a new content
      5. Upload helloworld.h5p file and Save changes
      6. Go to 'C1' course
      7. Go to 'More' and 'Course reuse', then 'Backup' option in dropdown menu
      8. Uncheck 'Include content bank content' options
      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 just downloaded backup file and click on 'Restore'
      15. Confirm 'Include content bank content' is not 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 not 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 More option in the secondary navigation).
      24. Confirm the content bank is empty

        1. helloworld.h5p
          35 kB
          Helen Foster
        2. MDLQA-16645 - Step 10 - Backup successfully.png
          96 kB
          Carlos Escobedo
        3. MDLQA-16645 - Step 15 - content bank not checked.png
          101 kB
          Carlos Escobedo
        4. MDLQA-16645 - Step 18 - content bank not checked.png
          79 kB
          Carlos Escobedo
        5. MDLQA-16645 - Step 22 and 24 - restore complete and content bank empty.png
          63 kB
          Carlos Escobedo
        6. MDLQA-16645 - Step 5 - Content bank h5p file.png
          51 kB
          Carlos Escobedo

            cescobedo Carlos Escobedo
            0 Vote for this issue
            1 Start watching this issue


                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.