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

A teacher can upload and edit H5P files in the content bank

    XMLWordPrintable

Details

    • Functional Test
    • Status: Open
    • Minor
    • Moodle QA non-runners
    • None
    • Content bank, H5P, Teacher
    • None

    Description

      This test requires 2 users with the role of teacher in a course.

      Some H5P files are attached to help with testing.

      1. Log in as teacher1 and go to the course.
      2. Go to "Content bank" in the navigation block under Site pages (for classic theme) or drawer (for boost theme).
      3. Confirm the content bank is empty.
      4. Click on the Upload button.
      5. Upload an H5P file and 'Save changes'.
      6. Confirm that the H5P file is shown in the content bank.
      7. Click on the "Edit" button, change some of the fields then click the "Save" button.
      8. Confirm that the H5P file displays the changes just made.
      9. Log out then log in as teacher2 and go to the course.
      10. Confirm that the H5P file uploaded by teacher1 is displayed.
      11. Click on the Upload button.
      12. Upload another H5P file and 'Save changes'.
      13. Confirm that the H5P file is shown in the content bank.
      14. Go to "Content bank" link in the breadcrumbs.
      15. Confirm that both H5P files are displayed.

      Attachments

        1. chart.h5p
          110 kB
        2. accordion.h5p
          530 kB
        3. arithmetic-quiz.h5p
          758 kB
        4. filltheblanks.h5p
          699 kB
        5. findthewords.h5p
          617 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: