Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-14131 Moodle 3.9 QA
  3. MDLQA-14764

CLONE - As an admin I want to backup my course and restore in an existing course with the content bank

    XMLWordPrintable

    Details

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

      Description

      This test requires admin access. If you would like to use the QA testing site for running it, please see the QA testing guide for details of how to request admin access. Begin just after the hourly reset to give yourself plenty of time to complete the test!

      1. Log as admin
      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. Create a course named C2
      13. Go to C1 course homepage
      14. Go to 'Restore' option in course cog menu
      15. Click on the 'Restore' link of backup file created in step 11
      16. Click on Continue
      17. Select 'C2' course in 'Restore into an existing course' section
      18. Confirm 'Include content bank content' options is checked
      19. Click on 'Next'
      20. Click on 'Next' using default settings
      21. Click on 'Perform restore'
      22. Confirm the course is restored succesfully and click in 'Continue'
      23. Go to Content bank link in 'C2' 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

          Issue Links

            Activity

              People

              Assignee:
              c.prudhomme Clement Prudhomme
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: