-
Functional Test
-
Minor
-
Moodle 3.5
-
None
This site requires admin access, and three users, Student A, Student B and Student C. The default theme should be Boost. The site should have two categories, X and Y.
- As admin,access Theme settings, disable category themes (if enabled) and enable cohort themes.
- Access Users>Cohorts and add a sitewide cohort. Click to edit the cohort and force the More theme
- Add one student student A to the cohort
- Add a category cohort to category X . Click to edit the cohort and force the Clean theme
- Add one student, student B to the category cohort
- Log in with the Student C account, navigate the site and the category and make sure you see everything with the Boost theme. Log out.
- Log in with the Student A account, navigate the site and both categories and make sure you see everywhere with the More theme. Log out
- Log in with the Student B account, navigate the site and both categories and make sure you see the site with the Clean theme. Log out.
- As admin,access Theme settings and disable cohort themes.
- Log in as Students A and B and verify you see the site with the Boost theme.