| Línea 65... |
Línea 65... |
| 65 |
When I am on the "c1forum1" "forum activity" page logged in as teacher1
|
65 |
When I am on the "c1forum1" "forum activity" page logged in as teacher1
|
| 66 |
And I navigate to "Reports" in current page administration
|
66 |
And I navigate to "Reports" in current page administration
|
| 67 |
Then "Groups" "button" should exist
|
67 |
Then "Groups" "button" should exist
|
| 68 |
And the following should exist in the "forumreport_summary_table" table:
|
68 |
And the following should exist in the "forumreport_summary_table" table:
|
| 69 |
# | | Discussions | Replies |
|
69 |
# | | Discussions | Replies |
|
| 70 |
| First name / Last name | -3- | -4- |
|
70 |
| First name | -3- | -4- |
|
| 71 |
| Student 1 | 1 | 1 |
|
71 |
| Student 1 | 1 | 1 |
|
| 72 |
| Student 2 | 0 | 0 |
|
72 |
| Student 2 | 0 | 0 |
|
| 73 |
| Teacher 1 | 2 | 2 |
|
73 |
| Teacher 1 | 2 | 2 |
|
| 74 |
And I click on "Groups" "button"
|
74 |
And I click on "Groups" "button"
|
| 75 |
And "Group A" "checkbox" should exist in the "filter-groups-popover" "region"
|
75 |
And "Group A" "checkbox" should exist in the "filter-groups-popover" "region"
|
| Línea 101... |
Línea 101... |
| 101 |
And I click on "Select all" "button" in the "filter-groups-popover" "region"
|
101 |
And I click on "Select all" "button" in the "filter-groups-popover" "region"
|
| 102 |
And I click on "Save" "button" in the "filter-groups-popover" "region"
|
102 |
And I click on "Save" "button" in the "filter-groups-popover" "region"
|
| 103 |
And "Groups (all)" "button" should exist
|
103 |
And "Groups (all)" "button" should exist
|
| 104 |
And the following should exist in the "forumreport_summary_table" table:
|
104 |
And the following should exist in the "forumreport_summary_table" table:
|
| 105 |
# | | Discussions | Replies |
|
105 |
# | | Discussions | Replies |
|
| 106 |
| First name / Last name | -3- | -4- |
|
106 |
| First name | -3- | -4- |
|
| 107 |
| Student 1 | 1 | 1 |
|
107 |
| Student 1 | 1 | 1 |
|
| 108 |
| Student 2 | 0 | 0 |
|
108 |
| Student 2 | 0 | 0 |
|
| 109 |
| Teacher 1 | 2 | 2 |
|
109 |
| Teacher 1 | 2 | 2 |
|
| Línea 110... |
Línea 110... |
| 110 |
|
110 |
|
| Línea 113... |
Línea 113... |
| 113 |
When I am on the "c1forum1" "forum activity" page logged in as teacher1
|
113 |
When I am on the "c1forum1" "forum activity" page logged in as teacher1
|
| 114 |
And I navigate to "Reports" in current page administration
|
114 |
And I navigate to "Reports" in current page administration
|
| 115 |
Then "Groups" "button" should exist
|
115 |
Then "Groups" "button" should exist
|
| 116 |
And the following should exist in the "forumreport_summary_table" table:
|
116 |
And the following should exist in the "forumreport_summary_table" table:
|
| 117 |
# | | Discussions | Replies |
|
117 |
# | | Discussions | Replies |
|
| 118 |
| First name / Last name | -3- | -4- |
|
118 |
| First name | -3- | -4- |
|
| 119 |
| Student 1 | 1 | 1 |
|
119 |
| Student 1 | 1 | 1 |
|
| 120 |
| Student 2 | 0 | 0 |
|
120 |
| Student 2 | 0 | 0 |
|
| 121 |
| Teacher 1 | 2 | 2 |
|
121 |
| Teacher 1 | 2 | 2 |
|
| 122 |
And I click on "Groups" "button"
|
122 |
And I click on "Groups" "button"
|
| 123 |
And I click on "Clear" "button" in the "filter-groups-popover" "region"
|
123 |
And I click on "Clear" "button" in the "filter-groups-popover" "region"
|
| Línea 126... |
Línea 126... |
| 126 |
And I click on "Group D" "checkbox" in the "filter-groups-popover" "region"
|
126 |
And I click on "Group D" "checkbox" in the "filter-groups-popover" "region"
|
| 127 |
And I click on "Save" "button"
|
127 |
And I click on "Save" "button"
|
| 128 |
And "Groups (3)" "button" should exist
|
128 |
And "Groups (3)" "button" should exist
|
| 129 |
And the following should exist in the "forumreport_summary_table" table:
|
129 |
And the following should exist in the "forumreport_summary_table" table:
|
| 130 |
# | | Discussions | Replies |
|
130 |
# | | Discussions | Replies |
|
| 131 |
| First name / Last name | -3- | -4- |
|
131 |
| First name | -3- | -4- |
|
| 132 |
| Student 1 | 1 | 1 |
|
132 |
| Student 1 | 1 | 1 |
|
| 133 |
| Teacher 1 | 1 | 2 |
|
133 |
| Teacher 1 | 1 | 2 |
|
| 134 |
And I should not see "Student 2"
|
134 |
And I should not see "Student 2"
|
| 135 |
# Ensure re-ordering retains filter.
|
135 |
# Ensure re-ordering retains filter.
|
| 136 |
And I click on "Number of discussions posted" "link"
|
136 |
And I click on "Number of discussions posted" "link"
|
| 137 |
And "Groups (3)" "button" should exist
|
137 |
And "Groups (3)" "button" should exist
|
| 138 |
And the following should exist in the "forumreport_summary_table" table:
|
138 |
And the following should exist in the "forumreport_summary_table" table:
|
| 139 |
# | | Discussions | Replies |
|
139 |
# | | Discussions | Replies |
|
| 140 |
| First name / Last name | -3- | -4- |
|
140 |
| First name | -3- | -4- |
|
| 141 |
| Student 1 | 1 | 1 |
|
141 |
| Student 1 | 1 | 1 |
|
| 142 |
| Teacher 1 | 1 | 2 |
|
142 |
| Teacher 1 | 1 | 2 |
|
| 143 |
And I should not see "Student 2"
|
143 |
And I should not see "Student 2"
|
| Línea 144... |
Línea 144... |
| 144 |
|
144 |
|
| Línea 147... |
Línea 147... |
| 147 |
When I am on the "c1forum2" "forum activity" page logged in as teacher1
|
147 |
When I am on the "c1forum2" "forum activity" page logged in as teacher1
|
| 148 |
And I navigate to "Reports" in current page administration
|
148 |
And I navigate to "Reports" in current page administration
|
| 149 |
Then "Groups" "button" should exist
|
149 |
Then "Groups" "button" should exist
|
| 150 |
And the following should exist in the "forumreport_summary_table" table:
|
150 |
And the following should exist in the "forumreport_summary_table" table:
|
| 151 |
# | | Discussions | Replies |
|
151 |
# | | Discussions | Replies |
|
| 152 |
| First name / Last name | -3- | -4- |
|
152 |
| First name | -3- | -4- |
|
| 153 |
| Student 1 | 0 | 0 |
|
153 |
| Student 1 | 0 | 0 |
|
| 154 |
| Student 2 | 1 | 2 |
|
154 |
| Student 2 | 1 | 2 |
|
| 155 |
| Teacher 1 | 3 | 1 |
|
155 |
| Teacher 1 | 3 | 1 |
|
| 156 |
And I click on "Groups" "button"
|
156 |
And I click on "Groups" "button"
|
| 157 |
And I click on "Clear" "button" in the "filter-groups-popover" "region"
|
157 |
And I click on "Clear" "button" in the "filter-groups-popover" "region"
|
| Línea 159... |
Línea 159... |
| 159 |
And I click on "No groups" "checkbox" in the "filter-groups-popover" "region"
|
159 |
And I click on "No groups" "checkbox" in the "filter-groups-popover" "region"
|
| 160 |
And I click on "Save" "button" in the "filter-groups-popover" "region"
|
160 |
And I click on "Save" "button" in the "filter-groups-popover" "region"
|
| 161 |
And "Groups (2)" "button" should exist
|
161 |
And "Groups (2)" "button" should exist
|
| 162 |
And the following should exist in the "forumreport_summary_table" table:
|
162 |
And the following should exist in the "forumreport_summary_table" table:
|
| 163 |
# | | Discussions | Replies |
|
163 |
# | | Discussions | Replies |
|
| 164 |
| First name / Last name | -3- | -4- |
|
164 |
| First name | -3- | -4- |
|
| 165 |
| Student 1 | 0 | 0 |
|
165 |
| Student 1 | 0 | 0 |
|
| 166 |
| Student 2 | 1 | 1 |
|
166 |
| Student 2 | 1 | 1 |
|
| 167 |
| Teacher 1 | 2 | 1 |
|
167 |
| Teacher 1 | 2 | 1 |
|
| Línea 168... |
Línea 168... |
| 168 |
|
168 |
|
| 169 |
@javascript
|
169 |
@javascript
|
| 170 |
Scenario: The summary report can be filtered by no groups only
|
170 |
Scenario: The summary report can be filtered by no groups only
|
| 171 |
When I am on the "c1forum2" "forum activity" page logged in as teacher1
|
171 |
When I am on the "c1forum2" "forum activity" page logged in as teacher1
|
| 172 |
And I navigate to "Reports" in current page administration
|
172 |
And I navigate to "Reports" in current page administration
|
| 173 |
Then the following should exist in the "forumreport_summary_table" table:
|
173 |
Then the following should exist in the "forumreport_summary_table" table:
|
| 174 |
# | | Discussions | Replies |
|
174 |
# | | Discussions | Replies |
|
| 175 |
| First name / Last name | -3- | -4- |
|
175 |
| First name | -3- | -4- |
|
| 176 |
| Student 1 | 0 | 0 |
|
176 |
| Student 1 | 0 | 0 |
|
| 177 |
| Student 2 | 1 | 2 |
|
177 |
| Student 2 | 1 | 2 |
|
| 178 |
| Teacher 1 | 3 | 1 |
|
178 |
| Teacher 1 | 3 | 1 |
|
| 179 |
And I click on "Groups" "button"
|
179 |
And I click on "Groups" "button"
|
| 180 |
And I click on "Clear" "button" in the "filter-groups-popover" "region"
|
180 |
And I click on "Clear" "button" in the "filter-groups-popover" "region"
|
| 181 |
And I click on "No groups" "checkbox" in the "filter-groups-popover" "region"
|
181 |
And I click on "No groups" "checkbox" in the "filter-groups-popover" "region"
|
| 182 |
And I click on "Save" "button" in the "filter-groups-popover" "region"
|
182 |
And I click on "Save" "button" in the "filter-groups-popover" "region"
|
| 183 |
And "Groups (1)" "button" should exist
|
183 |
And "Groups (1)" "button" should exist
|
| 184 |
And the following should exist in the "forumreport_summary_table" table:
|
184 |
And the following should exist in the "forumreport_summary_table" table:
|
| 185 |
# | | Discussions | Replies |
|
185 |
# | | Discussions | Replies |
|
| 186 |
| First name / Last name | -3- | -4- |
|
186 |
| First name | -3- | -4- |
|
| 187 |
| Student 1 | 0 | 0 |
|
187 |
| Student 1 | 0 | 0 |
|
| 188 |
| Student 2 | 1 | 1 |
|
188 |
| Student 2 | 1 | 1 |
|
| Línea 189... |
Línea 189... |
| 189 |
| Teacher 1 | 1 | 0 |
|
189 |
| Teacher 1 | 1 | 0 |
|
| Línea 194... |
Línea 194... |
| 194 |
When I am on the "c1forum1" "forum activity" page logged in as admin
|
194 |
When I am on the "c1forum1" "forum activity" page logged in as admin
|
| 195 |
And I navigate to "Reports" in current page administration
|
195 |
And I navigate to "Reports" in current page administration
|
| 196 |
Then "Groups" "button" should exist
|
196 |
Then "Groups" "button" should exist
|
| 197 |
And the following should exist in the "forumreport_summary_table" table:
|
197 |
And the following should exist in the "forumreport_summary_table" table:
|
| 198 |
# | | Discussions | Replies |
|
198 |
# | | Discussions | Replies |
|
| 199 |
| First name / Last name | -3- | -4- |
|
199 |
| First name | -3- | -4- |
|
| 200 |
| Student 1 | 1 | 1 |
|
200 |
| Student 1 | 1 | 1 |
|
| 201 |
| Student 2 | 0 | 0 |
|
201 |
| Student 2 | 0 | 0 |
|
| 202 |
| Teacher 1 | 2 | 2 |
|
202 |
| Teacher 1 | 2 | 2 |
|
| 203 |
And I click on "Groups" "button"
|
203 |
And I click on "Groups" "button"
|
| 204 |
And I click on "Clear" "button" in the "filter-groups-popover" "region"
|
204 |
And I click on "Clear" "button" in the "filter-groups-popover" "region"
|
| Línea 223... |
Línea 223... |
| 223 |
And I click on "Group C" "checkbox" in the "filter-groups-popover" "region"
|
223 |
And I click on "Group C" "checkbox" in the "filter-groups-popover" "region"
|
| 224 |
And I click on "Save" "button"
|
224 |
And I click on "Save" "button"
|
| 225 |
And "Groups (2)" "button" should exist
|
225 |
And "Groups (2)" "button" should exist
|
| 226 |
Then the following should exist in the "forumreport_summary_table" table:
|
226 |
Then the following should exist in the "forumreport_summary_table" table:
|
| 227 |
# | | Discussions | Replies |
|
227 |
# | | Discussions | Replies |
|
| 228 |
| First name / Last name | -3- | -4- |
|
228 |
| First name | -3- | -4- |
|
| 229 |
| Student 1 | 1 | 1 |
|
229 |
| Student 1 | 1 | 1 |
|
| 230 |
| Teacher 1 | 2 | 3 |
|
230 |
| Teacher 1 | 2 | 3 |
|
| 231 |
And I should not see "Student 2"
|
231 |
And I should not see "Student 2"
|
| 232 |
# Ensure re-ordering retains filter.
|
232 |
# Ensure re-ordering retains filter.
|
| 233 |
And I click on "Number of discussions posted" "link"
|
233 |
And I click on "Number of discussions posted" "link"
|
| 234 |
And "Groups (2)" "button" should exist
|
234 |
And "Groups (2)" "button" should exist
|
| 235 |
And the following should exist in the "forumreport_summary_table" table:
|
235 |
And the following should exist in the "forumreport_summary_table" table:
|
| 236 |
# | | Discussions | Replies |
|
236 |
# | | Discussions | Replies |
|
| 237 |
| First name / Last name | -3- | -4- |
|
237 |
| First name | -3- | -4- |
|
| 238 |
| Student 1 | 1 | 1 |
|
238 |
| Student 1 | 1 | 1 |
|
| 239 |
| Teacher 1 | 2 | 3 |
|
239 |
| Teacher 1 | 2 | 3 |
|
| 240 |
And I should not see "Student 2"
|
240 |
And I should not see "Student 2"
|