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=7
u4
<wwwroot>/user/view.php?id=6
Restore the attached course (Forum test course, FT101) into a new course in your test site.
Navigate to the "Forum test course" course, and open the forum called "Parlay".
Open the forum actions menu and click "Summary report".
CONFIRM the report contains 16 users, and the following users' details match (dates shortened here for table readability):
first/surname
Num Discussions
Num replies
Num attachments
Num views
Words
Chars
Earliest post
Most recent post
u1
1
6
5
115
34
186
19 July 3:05pm
10 Sep 2:15pm
u2
0
4
7
39
9
47
3 Sep 6:59pm
3 Sep 7:10pm
u3
0
0
0
2
0
0
-
-
Testing - filter by from/to dates, both, neither
Remain logged in as site admin, viewing the "Parlay" forum summary report.
CONFIRM there is a dates filter button to the left of the groups filter button, which contains the text "Dates".
Click the dates filter button.
CONFIRM the dates filter popover appears, with the heading "Dates", two date inputs ("From" and "To"), and a "Save" option.
CONFIRM both date filters display today's date, and are disabled (dropdowns disabled, and enable checkboxes unchecked).
Click "Enable" on the "From" dates filter then click the calendar icon on that row.
CONFIRM the current month's calendar loads below the dates filter popover.
Set the date in the calendar to "1 September 2019" and CONFIRM that the calendar disappears, and the date is correctly updated into the "From" date filter.
Click "Save".
CONFIRM the dates filter button now contains the text "From 1 Sep 2019", and the report still lists 16 users.
CONFIRM the relevant users' details have now changed to the following:
first/surname
Num Discussions
Num replies
Num attachments
Num views
Words
Chars
Earliest post
Most recent post
u1
0
4
5
72
20
108
3 Sep 4:45pm
10 Sep 2:15pm
u2
0
4
7
22
9
47
3 Sep 6:59pm
3 Sep 7:10pm
u3
0
0
0
2
0
0
-
-
Click the dates filter button.
CONFIRM the "From" filter still shows "1 September 2019" and the "Enabled" checkbox is checked.
CONFIRM the "To" filter still shows today's date and the "Enabled" checkbox is not checked.
Update the "From" filter using the dropdowns (not the calendar), so the date becomes "1 September 2019".
Click "Enable" on the "To" dates filter then click the calendar icon on that row.
CONFIRM the current month's calendar loads below the dates filter popover.
Set the date in the calendar to "3 September 2019" and CONFIRM that the calendar disappears, and the date is correctly updated into the "To" date filter.
Click "Save".
CONFIRM the dates filter button now contains the text "1 Sep 2019 - 3 Sep 2019", and the report still lists 16 users.
CONFIRM the relevant users' details have now changed to the following:
first/surname
Num Discussions
Num replies
Num attachments
Num views
Earliest post
Most recent post
u1
0
2
2
14
3 Sep 4:45pm
3 Sep 4:46pm
u2
0
4
7
15
3 Sep 6:59pm
3 Sep 7:10pm
u3
0
0
0
0
-
-
Click the dates filter button.
CONFIRM the "From" filter still shows "1 September 2019" and the "Enabled" checkbox is checked.
CONFIRM the "To" filter still shows "3 September 2019" and the "Enabled" checkbox is checked.
Change the "From" filter year to 2020 and press "Save".
CONFIRM The filter remains open, and displays warning text: ' Please ensure the "From" date selected is earlier than the "To" date selected. '.
Uncheck "Enable" on the "From" filter, and CONFIRM the "From" date dropdowns become disabled.
Update the "To" filter using the dropdowns, so the date becomes "1 August 2019".
Click "Save".
CONFIRM the dates filter button now contains the text "To 1 Aug 2019", and the report still lists 16 users.
CONFIRM the relevant users' details have now changed to the following:
first/surname
Num Discussions
Num replies
Num attachments
Num views
Words
Chars
Earliest post
Most recent post
u1
1
2
0
18
14
78
19 Jul 3:05pm
19 Jul 3:06pm
u2
0
0
0
4
0
0
-
-
u3
0
0
0
0
0
0
-
-
Click the dates filter button.
CONFIRM the "From" filter shows today's date and the "Enabled" checkbox is not checked.
CONFIRM the "To" filter still shows "1 August 2019" and the "Enabled" checkbox is checked.
Uncheck "Enable" on the "To" filter, and CONFIRM the "To" date dropdowns become disabled.
Click save.
CONFIRM the dates filter button now contains the text "Dates".
CONFIRM the report contains 16 users, and the following users' details match:
first/surname
Num Discussions
Num replies
Num attachments
Num views
Words
Chars
Earliest post
Most recent post
u1
1
6
5
115
34
186
19 July 3:05pm
10 Sep 2:15pm
u2
0
4
7
39
9
47
3 Sep 6:59pm
3 Sep 7:10pm
u3
0
0
0
2
0
0
-
-
Testing - Groups/dates filter combo
Click on the dates filter button.
Uncheck the "From" filter's "Enable" checkbox (or skip this if it is already unchecked from the previous test).
Check the "To filter's "Enable" checkbox (if it is not already checked), and set the "To" date to "4 September 2019".
Click "Save".
Click on the groups filter button.
Select "Group 1" only, and click "Save".
CONFIRM the dates filter button displays "To 4 Sep 2019", and the groups filter button displays "Groups (1)".
CONFIRM only the following 3 users are listed in the report, with the following details:
first/surname
Num Discussions
Num replies
Num attachments
Words
Chars
Earliest post
Most recent post
u1
1
1
0
58
8
42
19 July 3:05pm
19 July 3:06pm
u3
0
0
0
0
0
0
-
-
u4
0
2
3
15
7
23
3 Sep 7:17pm
3 Sep 7:29pm