Original - DO NOT REPORT TEST RESULTS HERE
- Admin access is required to create a small or medium sized courses using the "Make test course" tool
- Test on various supported browsers.
- Test on both themes Boost and Classic
- Log in as admin
- Go to Administration > Development > Make test course
- Create the following S- or M-sized course
- Course 1 - with at least 3 groups. Assign users to their groups respectively. Have some users belong to both groups. Have some users not belonging to any group.
- Course 2 - without groups
- Enable self-enrolment and manual enrolment to both courses.
- Designate users to their own groups in Course 1.
- For both courses, assign teacher, non-editing teacher, manager, and student roles to participants accordingly.
- For both courses, suspend some of the participant's enrolment.
- Go to a course's participants page
- Do an exploratory testing of filtering the course participants using the new participants filter with various filter combinations.
- Confirm that you can set multiple values for a given filter type and filter the users with the provided match condition. For example, you can filter the users by group 1 and group 2. If the match condition is set to "Any", it will show all participants belonging to either group 1 or group 2. If the match condition is set to "All", then users belonging to both groups 1 and 2 will the only ones who will be shown. If the match condition is set to "None", then the there should be no users belonging to group 1 nor group 2 on the partcipants table.
- Confirm that you can filter participants by groups in courses with groups. Conversely, there should be no option to filter the participants by groups if the course does not have groups.
- Confirm that you can add a filter condition.
- Confirm that you get the correct results when you filter with multiple conditions.
- Confirm that the results for filtering by multiple conditions are according to the top-level match condition. For example, you have the following:
- Top-level match condition: Match "All" the following:
- Condition 1: Match Any keyword: "an", "is"
- Condition 2: Match Any group: "Group 1", "Group 2
Then the participants table should show users that either has "an" or "is" in either of their last name, first name, or email and that these users should be belonging to either Group 1 or Group 2.
- Confirm that when you change the top-level match condition, you'll see that the condition between each filter row changes as well. E.g. if it's set to "None" or "All" you should see "AND" in between the filter rows. Otherwise, you'll see "OR".
- Confirm that when you remove one filter row, the table gets updated and the participants are displayed according to the currently applied filter.
- Confirm that pressing "Clear filters" clears all the currently applied filters and updates the participants table as well accordingly.
- Confirm that sorting the users or changing pagination number does not affect the currently applied filters and that the filters still apply.
- Confirm that resetting table preferences does not affect the currently applied filters and that the participants table shows users that match the conditions in the participants filter.
- is a QA test written for
MDL-67743 Participant page filters project