-
Functional Test
-
Minor
-
Moodle 4.5
-
None
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!
- Log in as an admin and enable stealth activities in Site administration / Advanced features.
- Log out then log in as a teacher and go to your course.
- Turn editing on and add a new H5P activity.
- Add an H5P file which provides tracking data (such as one of the attached files) and in the H5P options tick the box for 'Embed button'.
- In the common module settings set the availability to 'Make available but not shown on course page', then click 'Save and display'.
- When viewing the H5P activity, click the link '<> Embed' below the content and copy the embed code.
- Go to the course page and add a book.
- For the first chapter, add a title, then in the content field click the Atto HTML button '</>' and paste the H5P embed code then save changes.
- Log out then log in a student and go to the course.
- Verify that there is no H5P activity shown on the course page, only the book.
- View the book and attempt the H5P content in the book.
- Go to your grades and verify that the H5P activity is listed with the grade that you just obtained.
- Repeat steps 3 to 12 with a different H5P file and pasting the H5P embed code into a different activity or resource, such as a label.
- is a QA test written for
-
MDL-69174 Method of saving embedded H5P content grades in the gradebook
- Closed