NOTE: This test requires several visible system cohorts (no users needed) to have been created and course metalink enrolment method to be enabled. At least three courses must exist on the site, and if testing with a teacher account, the teacher must be enrolled in all three and should have enrol/meta:selectaslinked capability.
1) As an admin, manager or teacher in one course, navigate to Course administration>Users>Enrolment methods.
2) From the Add method drop down, choose Cohort sync and on the next screen select one of the available cohorts.
3) Click the button Add method and create another.
4) Verify you see the green success message that the first cohort was added and that you are now able to add a second one.
5) Select a second cohort and click Add method
6) Verify you have returned to the main Enrolment methods screen.
7) From the Add method drop down, choose Course metalink and on the next screen, select a course to link to. (Note that if you are using a teacher account you can only select courses you are enrolled in as a teacher.)
8) Click the button Add method and create another
9) Verify you see the green success message that the first course was linked and that you are now able to link to a second course.
10) Select a second course to link and click Add method.
11) Verify that you have returned to the main Enrolment screen and your two Cohort sync and 2 Course metalink methods are visible.