Details
-
Functional Test
-
Status: Open
-
Minor
-
Moodle QA non-runners
-
None
-
None
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!
Setup
We need some H5P content types installed.
- As an admin, go to "Content bank" in the navigation block (for classic theme) or drawer (for boost theme).
- Click on the Upload button.
- Upload "filltheblanks.h5p" file and 'Save changes'.
- Verify the "filltheblanks.h5p" element is shown.
- Repeat steps 1-4 but using the file "arithmetic-quiz.h5p".
Test
- Login as an admin
- Go to "Content bank" in the navigation block (for classic theme) or drawer (for boost theme).
- Click on "filltheblanks.h5p".
- Ensure you are in the view page and the file name (content name) is in the page header.
- Confirm the H5P content is rendered with no errors.
- Click on the "Close" button.
- Ensure you are in the content bank main page.
- Click on "arithmetic-quiz.h5p".
- Click on the "Edit" button.
- Ensure you are in the edit page.
- Click on the "Save" button.
- Confirm the "Title" field is empty and there is a warning message under it.
- Click on the "Cancel" button.
- Verify you are in the "arithmetic-quiz.h5p" view page.
- Click "Edit" button.
- Fill up the "Title" field and modify the "Intro" field text.
- Click "Save" button.
- Confirm in the "arithmetic-quiz.h5p" view page that the content displays the text you entered in the "Intro" field in step 14.
- Click on the "Close" button to return to the content bank main page and be ready for the next test.
Attachments
Issue Links
- has a clone
-
MDLQA-14785 CLONE - As an admin I want to edit existing H5P content
-
- Passed
-
- is a QA test written for
-
MDL-67810 Integrate content bank and H5P content creator
-
- Closed
-