Click on the 'Student' link under 'Roles' in their course profile.
Ensure you go to the page with the student filter active.
Change the URL so that roleid is set to '1' (manager).
Confirm you see 'No filters applied'.
Test 2
Log in as one of the teachers.
Go to the course.
Visit the participants page.
Click on the other teacher's picture.
Click on the 'Teacher' link under 'Roles' in their course profile.
Ensure you go to the page with the teacher filter active.
Change the URL so that roleid is set to '1' (manager).
Confirm you see 'No filters applied'.
Test 3
Log in as one of the managers.
Go to the course.
Visit the participants page.
Click on the other manager's picture.
Click on the 'Manager' link under 'Roles' in their course profile.
Confirm you see the 'Managers' filter applied.
Test 4
Log in as one of the students.
Go to the course.
Look in the select box and check what roles you can filter by - make a mental note.
Change the URL and add '&roleid=XYZ' where XYZ is the id of a role. Go through all the roles on the site and confirm only the roles that were displayed in the previous step are applied.
Prerequisite.
Create a course.
Enrol two students in the course.
Enrol two teachers in the course.
Enrol two managers in the course.
Test 1
Log in as one of the students.
Go to the course.
Visit the participants page.
Click the other student's picture.
Click on the 'Student' link under 'Roles' in their course profile.
Ensure you go to the page with the student filter active.
Change the URL so that roleid is set to '1' (manager).
Confirm you see 'No filters applied'.
Test 2
Log in as one of the teachers.
Go to the course.
Visit the participants page.
Click on the other teacher's picture.
Click on the 'Teacher' link under 'Roles' in their course profile.
Ensure you go to the page with the teacher filter active.
Change the URL so that roleid is set to '1' (manager).
Confirm you see 'No filters applied'.
Test 3
Log in as one of the managers.
Go to the course.
Visit the participants page.
Click on the other manager's picture.
Click on the 'Manager' link under 'Roles' in their course profile.
Confirm you see the 'Managers' filter applied.
Test 4
Log in as one of the students.
Go to the course.
Look in the select box and check what roles you can filter by - make a mental note.
Change the URL and add '&roleid=XYZ' where XYZ is the id of a role. Go through all the roles on the site and confirm only the roles that were displayed in the previous step are applied.
This is a regression from 3.3.
is blocked by
MDL-37810Custom Roles: Not listed in Current Role drop-down on Participants list page, cannot put into Groups
Closed
MDL-59831It is impossible to remove group filters even if course is in visible groups mode