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

Create behat tests for groups filter

    XMLWordPrintable

    Details

    • Sprint:
      Internationals - 3.8 Alpha, Internationals - 3.9 Sprint 1, International 3.9 - Sprint 3, International 3.9 - Sprint 4

      Description

      The forum summary report groups filter requires behat tests.

      Some cases that need to be handled include:

      1. Forums in courses containing no groups.
      2. All groups selected by default.
      3. All groups can be selected/cleared together, and selecting all will set "Groups (all)" on the filter button.
      4. Selecting some groups only.
      5. Selecting a mixture of some groups and "No groups" (users not in any groups).
      6. Selecting "No groups only".
      7. Submitting with no groups checkboxes ticked.
      8. Selecting a group which contains no users.

      Where relevant, tests need to have some intersecting users among groups (eg selecting Group A and Group B, where Teacher 1 is in both groups), to ensure that belonging to 2 selected groups does not cause the data to be duplicated (ie show 4 replies when there were only 2). This will be important when additional changes are made, to ensure no regressions affect the report's data integrity.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michaelh Michael Hawkins
              Reporter:
              michaelh Michael Hawkins
              Peer reviewer:
              Jun Pataleta
              Integrator:
              Adrian Greeve
              Tester:
              CiBoT
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Mar/20

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 3 hours, 48 minutes
                  2d 3h 48m