-
Functional Test
-
Minor
-
None
-
Moodle QA non-runners
-
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
- Login as Admin
- Go to Site administration > Plugins > Repositories > Manage repositories
- Enable the 'Content bank' repository
- Go to Site administration > Courses > Manage courses and categories
- Create 1 course category:
- Category1
- Create a 1 subcategory:
- SubCategory1 subcategory where Category1 is the parent category
- Create several courses:
- MiscellaneousCourse1 in the Miscellaneous category
- MiscellaneousCourse2 in the Miscellaneous category
- Category1Course1 in the Category1 category
- SubCategory1Course1 in the SubCategory1 category
- Add h5p files into the content bank for multiple contexts. (Note: currenlty only h5p files are supported by the content bank)
- System context
- How to add content:
- Go to 'Dashboard'
- Click on the 'Content bank' item in the navigation block
- Add an h5p file into the content bank
- How to add content:
- Course category context
- Add into the following course category contexts:
- Miscellaneous
- Category1
- SubCategory1
- How to add:
- Go to Site administration > Courses > Manage courses and categories
- Click on the link of the desired course category (ex. 'Miscellaneous')
- Click on the 'Content bank' item in the navigation block
- Add an h5p file into the content bank
- Add into the following course category contexts:
- Course context
- Add into the following course contexts:
- MiscellaneousCourse1
- MiscellaneousCourse2
- SubCategory1Course1
- How to add:
- Go to 'Site home'
- Click on the link of the desired course (ex. 'MiscellaneousCourse1') in the 'Available courses' section
- Click on the 'Content bank' item in the navigation block
- Add an h5p file into the content bank
- Add into the following course contexts:
- System context
- Enrol a user as an editing teacher in the following courses:
- MiscellaneousCourse1
- Category1Course1
- SubCategory1Course1
Test
- Login as Editing teacher.
- Navigate to MiscellaneousCourse1
- Go to 'Edit settings'
- Click on the h5p button in the 'Course summary' editor and click on 'Browse repositories'
- make sure you can see the 'Content bank' repository in the repository options
- Click on the 'Content bank' repository
- make sure you can initially see the content file added in the current context (MiscellaneousCourse1)
- make sure you can see a breadcrumb navigation up to the system context (System > Miscellaneous > MiscellaneousCourse1)
- Click on the 'Miscellaneous' node in the breadcrumb navigation
- make sure you can see the content file which was previously added in the 'Miscellaneous' context.
- make sure you can see 1 folder (representing the course from the Miscellaneous category where the Editing teacher is enrolled):
- MiscellaneousCourse1
- Click on the 'System' node in the breadcrumb navigation
- make sure you can see the content file which was previously added in the system context.
- 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):
- Miscellaneous
- Category1
- Click on the 'Category1' folder
- make sure you can see the content file which was previously added in the 'Category1' context.
- make sure you can see 2 folders:
- SubCategory1 (representing the subcategory of Category1)
- Category1Course1 (representing the course from the Category1 category)
- Click on the 'SubCategory1' folder
- make sure you can see the content file which was previously added in the 'SubCategory1' context.
- make sure you can see 1 folder:
- SubCategory1Course1 (representing the course from the SubCategory1 category)
- has a clone
-
MDLQA-14775 CLONE - 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
- Passed
- is a QA test written for
-
MDL-67812 Create a new repository for the content bank
- Closed