Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-5249 QA tests converted to behat
  3. MDLQA-14754

A teacher can backup and restore an H5P activity



    • Functional Test
    • Minor
    • None
    • Moodle QA non-runners
    • H5P, Teacher
    • None


      This is an exploratory test of a new feature or improvement, so please feel free to try anything you like and not just the test steps!

      Some H5P files attached to help with the testing.

      1. As a teacher go to a course and click on 'Turn editing on'.
      2. Click on 'Add an activity or resource'
      3. Select 'H5P' activity.
      4. Fill required 'Name' field and upload a .h5p file to 'Package file' (some .h5p files attached for testing.
      5. 'Save and display'
      6. Confirm the content is displayed with no errors.
      7. Go to course and backup the course.
      8. Confirm just created H5P activity is checked to be included in the backup.
      9. Finish backup process and confirm there is not error displayed.
      10. Restore in a different course just created backup file.
      11. Confirm H5P activity has been restored in the course.
      12. Click on the H5P activity.
      13. Confirm the content is displayed with no errors.


        1. accordion.h5p
          530 kB
        2. arithmetic-quiz.h5p
          758 kB
        3. chart.h5p
          110 kB
        4. filltheblanks.h5p
          699 kB
        5. findthewords.h5p
          617 kB

        Issue Links



              Unassigned Unassigned
              0 Vote for this issue
              2 Start watching this issue