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

As an admin I want to re-use content bank files

XMLWordPrintable

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

      Setup

      1. Login as Admin
      2. Go to Site administration > Plugins > Repositories > Manage repositories
      3. Enable the 'Content bank' repository
      4. Go to Site administration > Courses > Manage courses and categories
      5. Create several courses:
        1. MiscellaneousCourse1 in the Miscellaneous category
        2. MiscellaneousCourse2 in the Miscellaneous category
      6. Add h5p files into the content bank for multiple contexts. (Note: currently only h5p files are supported by the content bank)
        1. System context
          1. How to add content:
            1. Go to 'Dashboard'
            2. Click on the 'Content bank' item in the navigation block
            3. Add an h5p file into the content bank
        2. Course category context
          1. Add into the following course category context:
            1. Miscellaneous
          2. How to add:
            1. Go to Site administration > Courses > Manage courses and categories
            2. Click on the link of the desired course category (ex. 'Miscellaneous')
            3. Click on the 'Content bank' item in the navigation block
            4. Add an h5p file into the content bank
        3. Course context
          1. Add into the following course contexts:
            1. MiscellaneousCourse1
            2. MiscellaneousCourse2
          2. How to add:
            1. Go to 'Site home'
            2. Click on the link of the desired course (ex. 'MiscellaneousCourse1') in the 'Available courses' section
            3. Click on the 'Content bank' item in the navigation block
            4. Add an h5p file into the content bank

      Test

      1. Login as Admin.
      2. Navigate to MiscellaneousCourse1
      3. Go to 'Edit settings'
      4. Click on the h5p button in the 'Course summary' editor and click on 'Browse repositories'
      5. Click on the 'Content bank' repository
      6. In the 'Content bank' repository navigate to the 'MiscellaneousCourse2' content (Miscellaneous > MiscellaneousCourse2)
      7. Click on the existing content file in 'MiscellaneousCourse2'
        1. Select 'Make a copy of the file'
        2. Click 'Select this file'
      8. Click 'Insert H5P'
        1. Confirm the file has been added to the 'Course summary' field.
      9. Repeat this process by adding content files from different contexts
        1. Confirm each time the file has been successfully added.

        1. helloworld.h5p
          35 kB
        2. find-the-words.h5p
          617 kB
        3. filltheblanks.h5p
          699 kB
        4. arithmetic-quiz.h5p
          758 kB
        5. accordion.h5p
          530 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.