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

As a teacher I want to edit H5P content I'm using and create a shortcut

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Minor Minor
    • None
    • Moodle QA non-runners
    • Content bank, 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.

      Setup

      We need some H5P content types installed (QA site has those content types installed).

      1. As an admin, go to "Content bank" in the navigation block > site pages (for classic theme) or drawer (for boost theme).
      2. Click on the Upload button.
      3. Upload "arithmetic-quiz.h5p" file and 'Save changes'.
      4. Verify the "arithmetic-quiz.h5p" element is shown.
      5. Repeat 3 and 4 for the rest of the content types you want to use.

      Test

      1. Login as a teacher.
      2. Go to a course where you are enrolled as a teacher.
      3. Go to "Content bank" in the navigation block > Site pages (for classic theme) or drawer (for boost theme).
      4. Click on the Upload button.
      5. Upload "arithmetic-quiz.h5p" file and 'Save changes'.
      6. Confirm the "arithmetic-quiz.h5p" element is shown.
      7. Return to the course and turn editing on
      8. 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
      9. Confirm that a small arrow appears at the bottom left of the file icon like the screenshot
         
      10. Click "Save and display"
      11. Check the content is displayed with no errors
      12. Go the course content bank and click on the arithmetic-quiz.h5p content
      13. Click in the edit button
      14. Change some of the fields, e.g. "Title" and "Intro" and Save
      15. Confirm the title field value is in the page header and the fields you modified in step 17 are correctly rendered.
      16. Click on the "Close" button.
      17. Go back to the H5P activity in the course.
      18. Confirm the changes you made in the content are applied.

        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
        6. screenshot_034.png
          screenshot_034.png
          15 kB

            Unassigned Unassigned
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.