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

Give forum summary report filters the ability to close

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Setup

      1. Log into your test site as site admin.
      2. Visit each of the following user profile pages, and note down each user's name, as they will be referred to as the respective users later in testing:
        User URL
        u1 <wwwroot>/user/profile.php?id=13
        u2 <wwwroot>/user/view.php?id=3
        u3 <wwwroot>/user/view.php?id=8
        u4 <wwwroot>/user/view.php?id=15
      3. Restore the attached course (Information and Software Security 101, ISS101) into a new course in your test site.
      4. Navigate to that course, and open the forum called "Security Education", under the OWASP Top 10" section.
      5. Open the forum actions menu and click "Summary report".
      6. CONFIRM the report contains 6 users, and the following users' details match (dates shortened here for table readability, and number of views omitted):
        first/surname Num Discussions Num replies Num attachments Word count Char count Earliest post Most recent post
        u1 2 1 0 77 406 16 Aug 8:00am 16 Oct 12:45pm
        u2 0 1 0 21 121 16 Oct 12:45pm 16 Oct 12:45pm
        u3 0 2 0 52 284 16 Aug 8:00am 1 Sept 8:00am

      Testing

      1. Remain logged in as site admin, viewing the "Parlay" forum summary report.
      2. Open the groups filter, by clicking on the "Groups" filter button.
      3. Select the "Red Team" checkbox. (Do not press save.)
      4. Press "Escape" key on your keyboard.
      5. CONFIRM the groups filter is now closed.
      6. Click on the "Groups" filter button again, to reopen it.
      7. CONFIRM "Red Team" is still selected.
      8. Click a blank space on the page, outside of the groups filter popover.
      9. CONFIRM the groups filter is now closed.
      10. Click on the "Groups" filter button again, to reopen it.
      11. CONFIRM "Red Team" is still selected.
      12. Click on the "Dates" filter.
      13. CONFIRM the groups filter is now closed, and the dates filter is now open.
      14. Click "Enable" on the "To" date field, and select a "To" date of "15 October 2019". (Do not press save.)
      15. Press the "Escape" key on your keyboard.
      16. CONFIRM the dates filter is now closed.
      17. Reopen the dates filter, and CONFIRM the "To" date is still set to "15 October 2019", and the "Enabled" checkbox is still checked.
      18. Press the "Save" button.
      19. CONFIRM the dates filter button now reads "To 15 Oct 2019", and the groups filter reads "Groups" only.
      20. Open the groups filter, and CONFIRM none of the groups' checkboxes are selected.
      21. CONFIRM The following users' details match:
        first/surname Num Discussions Num replies Num attachments Word count Char count Earliest post Most recent post
        u1 2 0 0 64 328 16 Aug 8:00am 16 Aug 8:00am
        u2 0 0 0 0 0 - -
        u3 0 2 0 52 284 16 Aug 8:00am 1 Sept 8:00am
      22. Open the dates filter.
      23. Select the "enabled" checkbox on the "From" date, and set the date to "1 January 2019".
      24. Open the Groups checkbox, and check "Blue team", then press "Save".
      25. CONFIRM the dates filter still reads "To 15 Oct 2019".
      26. CONFIRM the groups filter now reads "Groups (1)".
      27. Open the dates filter and CONFIRM the "From" filter is not enabled (the date shows as today's date, disabled/greyed out, and the "enable" checkbox is not checked).
      28. CONFIRM only Aada, Amelie and Marion appear in the report, and CONFIRM their details match the following:
        first/surname Num Discussions Num replies Num attachments Word count Char count Earliest post Most recent post
        u1 1 0 0 29 161 16 Aug 8:00am 16 Aug 8:00am
        u2 0 0 0 0 0 - -
        u4 0 0 0 0 0 - -
      Show
      Setup Log into your test site as site admin. Visit each of the following user profile pages, and note down each user's name, as they will be referred to as the respective users later in testing: User URL u1 <wwwroot>/user/profile.php?id=13 u2 <wwwroot>/user/view.php?id=3 u3 <wwwroot>/user/view.php?id=8 u4 <wwwroot>/user/view.php?id=15 Restore the attached course (Information and Software Security 101, ISS101) into a new course in your test site. Navigate to that course, and open the forum called "Security Education", under the OWASP Top 10" section. Open the forum actions menu and click "Summary report". CONFIRM the report contains 6 users, and the following users' details match (dates shortened here for table readability, and number of views omitted): first/surname Num Discussions Num replies Num attachments Word count Char count Earliest post Most recent post u1 2 1 0 77 406 16 Aug 8:00am 16 Oct 12:45pm u2 0 1 0 21 121 16 Oct 12:45pm 16 Oct 12:45pm u3 0 2 0 52 284 16 Aug 8:00am 1 Sept 8:00am Testing Remain logged in as site admin, viewing the "Parlay" forum summary report. Open the groups filter, by clicking on the "Groups" filter button. Select the "Red Team" checkbox. (Do not press save.) Press "Escape" key on your keyboard. CONFIRM the groups filter is now closed. Click on the "Groups" filter button again, to reopen it. CONFIRM "Red Team" is still selected. Click a blank space on the page, outside of the groups filter popover. CONFIRM the groups filter is now closed. Click on the "Groups" filter button again, to reopen it. CONFIRM "Red Team" is still selected. Click on the "Dates" filter. CONFIRM the groups filter is now closed, and the dates filter is now open. Click "Enable" on the "To" date field, and select a "To" date of "15 October 2019". (Do not press save.) Press the "Escape" key on your keyboard. CONFIRM the dates filter is now closed. Reopen the dates filter, and CONFIRM the "To" date is still set to "15 October 2019", and the "Enabled" checkbox is still checked. Press the "Save" button. CONFIRM the dates filter button now reads "To 15 Oct 2019", and the groups filter reads "Groups" only. Open the groups filter, and CONFIRM none of the groups' checkboxes are selected. CONFIRM The following users' details match: first/surname Num Discussions Num replies Num attachments Word count Char count Earliest post Most recent post u1 2 0 0 64 328 16 Aug 8:00am 16 Aug 8:00am u2 0 0 0 0 0 - - u3 0 2 0 52 284 16 Aug 8:00am 1 Sept 8:00am Open the dates filter. Select the "enabled" checkbox on the "From" date, and set the date to "1 January 2019". Open the Groups checkbox, and check "Blue team", then press "Save". CONFIRM the dates filter still reads "To 15 Oct 2019". CONFIRM the groups filter now reads "Groups (1)". Open the dates filter and CONFIRM the "From" filter is not enabled (the date shows as today's date, disabled/greyed out, and the "enable" checkbox is not checked). CONFIRM only Aada, Amelie and Marion appear in the report, and CONFIRM their details match the following: first/surname Num Discussions Num replies Num attachments Word count Char count Earliest post Most recent post u1 1 0 0 29 161 16 Aug 8:00am 16 Aug 8:00am u2 0 0 0 0 0 - - u4 0 0 0 0 0 - -
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Pull Master Branch:
      MDL-66890-master

      Description

      The popovers will be more flexible if they have the ability to close, when the user either clicking on something (eg re-clicking the button that opened them), or by pressing the escape key while focused on the popover.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  18/Nov/19

                  Time Tracking

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