Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-14131 Moodle 3.9 QA
  3. MDLQA-14772

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

    XMLWordPrintable

    Details

      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

      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.

        Attachments

        1. accordion.h5p
          530 kB
        2. arithmetic-quiz.h5p
          758 kB
        3. filltheblanks.h5p
          699 kB
        4. find-the-words.h5p
          617 kB
        5. helloworld.h5p
          35 kB

          Issue Links

            Activity

              People

              Assignee:
              kostyakray Kostya Kray
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: