-
Functional Test
-
Minor
-
Moodle 4.0
Test requirements:
- Two test sites, A and B, running the latest Moodle dev version. (One of the test sites can be the QA testing site.)
- Teacher access to test site A and admin access to test site B.
Test steps:
- Log in as a teacher to test site A.
- Go to a course and create a new "Page" resource.
- Add a name to the new Page.
- In the "Page content", using the "Insert H5P" Atto button, upload the attached file "image-slider.h5p".
- Press "Save and display", then check that the H5P content is displayed correctly.
- Create a course backup including the page resource containing the H5P content.
- Download the backup file.
- Restore the backup into a different course on test site A.
- View the page resource containing the H5P content and check that the H5P content is displayed correctly.
- Log in as an admin to test site B and restore the backup as a new course on the site.
- View the page resource containing the H5P content in the restored course and check that the H5P content is displayed correctly.
- is a QA test written for
-
MDL-66593 Implement backup and restore process for H5P content
- Closed