Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-61967

Regression: Unable to filter by No Groups on Participants Page

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      It should be covered by Behat. However, here there are also some manual tests.

      Setup

      1. Prepare a course with 5 students (s1...s5) and 1 teacher (t1)

      Testing scenario 1 (No groups)

      1. Access as teacher to the participants page of this course
        • CHECK that the filter "Group: No group" doesn't appear

      Testing scenario 2 (Separate groups as teacher)

      1. Access as teacher to the course
      2. Edit course settings and choose "Separate groups" as "Group mode"
      3. Go to the participants page
      4. Create 2 groups (g1 and g2)
      5. Add students s1 and s2 to group g1 
      6. Add student s1 to group g2
      7. Filter users by "Group: No group".
        • CHECK that the "Number of participants" is 4
        • CHECK that teacher t1 and students s3, s4 and s5 are displayed
        • CHECK that students s1 and s2 are not displayed
      8. Remove the filter
        • CHECK that there is no active filter
        • CHECK that the "Number of participants" is 6
        • CHECK that all the participants are displayed on the same page

      Testing scenario 3 (Separate groups as student)

      1. Access as student s2 to the participants page of the course (only has one group)
        • CHECK that the "Group: g1" filter is always enabled (even if you try to remove it)
        • CHECK that the "Group: No groups" doesn't appear
      2. Access as student s1 to the participants page of the course (belongs to both groups)
        • CHECK that some of the "Group: gX" is enabled by default
        • CHECK that can filter users from the other group
        • CHECK that the "Group: No groups" doesn't appear

      Testing scenario 3 (Visible groups as student)

      1. Access as teacher to the course
      2. Edit course settings and choose "Visible groups" as "Group mode"
      3. Access as student s2 to the participants page of the course (only has one group)
      4. Filter users by "Group: No group".
        • CHECK that the "Number of participants" is 4
        • CHECK that teacher t1 and students s3, s4 and s5 are displayed
        • CHECK that students s1 and s2 are not displayed
      5. Remove the filter
        • CHECK that there is no active filter
        • CHECK that the "Number of participants" is 6
        • CHECK that all the participants are displayed on the same page
      Show
      It should be covered by Behat. However, here there are also some manual tests. Setup Prepare a course with 5 students (s1...s5) and 1 teacher (t1) Testing scenario 1 (No groups) Access as teacher to the participants page of this course CHECK that the filter "Group: No group" doesn't appear Testing scenario 2 (Separate groups as teacher) Access as teacher to the course Edit course settings and choose "Separate groups" as "Group mode" Go to the participants page Create 2 groups (g1 and g2) Add students s1 and s2 to group g1  Add student s1 to group g2 Filter users by "Group: No group". CHECK that the "Number of participants" is 4 CHECK that teacher t1 and students s3, s4 and s5 are displayed CHECK that students s1 and s2 are not displayed Remove the filter CHECK that there is no active filter CHECK that the "Number of participants" is 6 CHECK that all the participants are displayed on the same page Testing scenario 3 (Separate groups as student) Access as student s2 to the participants page of the course (only has one group) CHECK that the "Group: g1" filter is always enabled (even if you try to remove it) CHECK that the "Group: No groups" doesn't appear Access as student s1 to the participants page of the course (belongs to both groups) CHECK that some of the "Group: gX" is enabled by default CHECK that can filter users from the other group CHECK that the "Group: No groups" doesn't appear Testing scenario 3 (Visible groups as student) Access as teacher to the course Edit course settings and choose "Visible groups" as "Group mode" Access as student s2 to the participants page of the course (only has one group) Filter users by "Group: No group". CHECK that the "Number of participants" is 4 CHECK that teacher t1 and students s3, s4 and s5 are displayed CHECK that students s1 and s2 are not displayed Remove the filter CHECK that there is no active filter CHECK that the "Number of participants" is 6 CHECK that all the participants are displayed on the same page
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-61967-master

      Description

      Upgraded to 3.4 and now when I go to the participants page there is no option in the filters for No Groups.

      See screenshots. This worked in previous versions.

        Attachments

        1. 1.PNG
          1.PNG
          181 kB
        2. 2.PNG
          2.PNG
          75 kB
        3. 3.PNG
          3.PNG
          54 kB
        4. NO_group_filter.png
          NO_group_filter.png
          36 kB
        5. Screen Shot 2018-03-26 at 4.11.10 PM.png
          Screen Shot 2018-03-26 at 4.11.10 PM.png
          86 kB
        6. Screen Shot 2018-03-26 at 4.11.38 PM.png
          Screen Shot 2018-03-26 at 4.11.38 PM.png
          26 kB

          Issue Links

            Activity

              People

              • Votes:
                15 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Dec/18

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 23 minutes
                  23m