Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-1 Moodle QA testing
  3. MDLQA-14749

As an editing teacher I want to navigate through course contexts where he is enrolled in, parent categories of the enrolled courses and the system context

    XMLWordPrintable

    Details

    • Type: Functional Test
    • Status: Open
    • Priority: Minor
    • Affects Version/s: Master copy - DO NOT REPORT TEST RESULTS HERE
    • Fix Version/s: None
    • Labels:

      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 1 course category:
        1. Category1
      6. Create a 1 subcategory:
        1. SubCategory1 subcategory where Category1 is the parent category
      7. Create several courses:
        1. MiscellaneousCourse1 in the Miscellaneous category
        2. MiscellaneousCourse2 in the Miscellaneous category
        3. Category1Course1 in the Category1 category
        4. SubCategory1Course1 in the SubCategory1 category
      8. Add h5p files into the content bank for multiple contexts. (Note: currenlty 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 contexts:
            1. Miscellaneous
            2. Category1
            3. SubCategory1
          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
            3. SubCategory1Course1
          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
      9. Enrol a user as an editing teacher in the following courses:
        1. MiscellaneousCourse1
        2. Category1Course1
        3. SubCategory1Course1

      Test

      1. Login as Editing teacher.
      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'
        1. make sure you can see the 'Content bank' repository in the repository options
      5. Click on the 'Content bank' repository
        1. make sure you can initially see the content file added in the current context (MiscellaneousCourse1)
        2. make sure you can see a breadcrumb navigation up to the system context (System > Miscellaneous > MiscellaneousCourse1)
      6. Click on the 'Miscellaneous' node in the breadcrumb navigation
        1. make sure you can see the content file which was previously added in the 'Miscellaneous' context.
        2. make sure you can see 1 folder (representing the course from the Miscellaneous category where the Editing teacher is enrolled):
          1. MiscellaneousCourse1
      7. Click on the 'System' node in the breadcrumb navigation
        1. make sure you can see the content file which was previously added in the system context.
        2. make sure you can see 2 folders (representing each top level category which is also a parent category of the courses where the Editing teacher is enrolled):
          1. Miscellaneous
          2. Category1
      8. Click on the 'Category1' folder
        1. make sure you can see the content file which was previously added in the 'Category1' context.
        2. make sure you can see 2 folders:
          1. SubCategory1 (representing the subcategory of Category1)
          2. Category1Course1 (representing the course from the Category1 category)
      9. Click on the 'SubCategory1' folder
        1. make sure you can see the content file which was previously added in the 'SubCategory1' context.
        2. make sure you can see 1 folder:
          1. SubCategory1Course1 (representing the course from the SubCategory1 category)

        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:
              Unassigned
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: