-
Functional Test
-
Minor
-
Moodle 3.10
-
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.
Setup
We need some H5P content types installed (QA site has those content types installed).
- As an admin, go to "Content bank" in the navigation block > site pages (for classic theme) or drawer (for boost theme).
- Click on the Upload button.
- Upload "arithmetic-quiz.h5p" file and 'Save changes'.
- Verify the "arithmetic-quiz.h5p" element is shown.
- Repeat 3 and 4 for the rest of the content types you want to use.
Test
- Login as a teacher.
- Go to a course where you are enrolled as a teacher.
- Go to "Content bank" in the navigation block > Site pages (for classic theme) or drawer (for boost theme).
- Click on the Upload button.
- Upload "arithmetic-quiz.h5p" file and 'Save changes'.
- Confirm the "arithmetic-quiz.h5p" element is shown.
- Return to the course and turn editing on
- Create a H5P activity using the following settings
- Name: h5p activity
- Package file: select the arithmetic-quiz.h5p from the content bank repository and select "Create an alias/shortcut to the file" when selecting the file
- Confirm that a small arrow appears at the bottom left of the file icon like the screenshot
- Click "Save and display"
- Check the content is displayed with no errors
- Go the course content bank and click on the arithmetic-quiz.h5p content
- Click in the edit button
- Change some of the fields, e.g. "Title" and "Intro" and Save
- Confirm the title field value is in the page header and the fields you modified in step 17 are correctly rendered.
- Click on the "Close" button.
- Go back to the H5P activity in the course.
- Confirm the changes you made in the content are applied.
- is a QA test written for
-
MDL-68873 H5P content is not updated when alias is used in Content bank repository
- Closed