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

Create behat tests for groups filter

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8
    • Fix Version/s: None
    • Component/s: Forum
    • Sprint:
      Internationals - 3.8 Alpha

      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
                Participants:
                Component watchers:
                Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 4 hours, 28 minutes
                  1d 4h 28m