Línea 58... |
Línea 58... |
58 |
And I am on the "Course 1" "grades > Grader report > View" page logged in as "teacher1"
|
58 |
And I am on the "Course 1" "grades > Grader report > View" page logged in as "teacher1"
|
Línea 59... |
Línea 59... |
59 |
|
59 |
|
60 |
Scenario: I can update grades, add feedback and exclude grades.
|
60 |
Scenario: I can update grades, add feedback and exclude grades.
|
61 |
Given I navigate to "View > Single view" in the course gradebook
|
61 |
Given I navigate to "View > Single view" in the course gradebook
|
62 |
And I click on "Users" "link" in the ".page-toggler" "css_element"
|
62 |
And I click on "Users" "link" in the ".page-toggler" "css_element"
|
63 |
And I click on "Student" in the "user" search widget
|
63 |
And I click on "Student" in the "Search users" search combo box
|
64 |
And I turn editing mode on
|
64 |
And I turn editing mode on
|
65 |
And I set the field "Override for Test assignment one" to "1"
|
65 |
And I set the field "Override for Test assignment one" to "1"
|
66 |
When I set the following fields to these values:
|
66 |
When I set the following fields to these values:
|
67 |
| Grade for Test assignment one | 10.00 |
|
67 |
| Grade for Test assignment one | 10.00 |
|
Línea 86... |
Línea 86... |
86 |
And I set the field "Exclude for Jane, Nina, Niamh, Cholmondely" to "1"
|
86 |
And I set the field "Exclude for Jane, Nina, Niamh, Cholmondely" to "1"
|
87 |
And I press "Save"
|
87 |
And I press "Save"
|
88 |
Then I should see "Grades were set for 2 items"
|
88 |
Then I should see "Grades were set for 2 items"
|
89 |
And the field "Grade for Ann, Jill, Grainne, Beauchamp" matches value "12.05"
|
89 |
And the field "Grade for Ann, Jill, Grainne, Beauchamp" matches value "12.05"
|
90 |
And the field "Exclude for Jane, Nina, Niamh, Cholmondely" matches value "1"
|
90 |
And the field "Exclude for Jane, Nina, Niamh, Cholmondely" matches value "1"
|
91 |
And I click on "new grade item 1" in the "grade" search widget
|
91 |
And I click on "new grade item 1" in the "Search items" search combo box
|
92 |
And I set the field "Grade for Ann, Jill, Grainne, Beauchamp" to "Very good"
|
92 |
And I set the field "Grade for Ann, Jill, Grainne, Beauchamp" to "Very good"
|
93 |
And I press "Save"
|
93 |
And I press "Save"
|
94 |
Then I should see "Grades were set for 1 items"
|
94 |
Then I should see "Grades were set for 1 items"
|
95 |
And the following should exist in the "generaltable" table:
|
95 |
And the following should exist in the "generaltable" table:
|
96 |
| User full name | Grade |
|
96 |
| User full name | Grade |
|
97 |
| Ann, Jill, Grainne, Beauchamp | Very good |
|
97 |
| Ann, Jill, Grainne, Beauchamp | Very good |
|
98 |
And I am on the "Course 1" "grades > Single view > View" page logged in as "teacher2"
|
98 |
And I am on the "Course 1" "grades > Single view > View" page logged in as "teacher2"
|
99 |
And I click on "Users" "link" in the ".page-toggler" "css_element"
|
99 |
And I click on "Users" "link" in the ".page-toggler" "css_element"
|
100 |
And I click on "Student" in the "user" search widget
|
100 |
And I click on "Student" in the "Search users" search combo box
|
101 |
And I turn editing mode on
|
101 |
And I turn editing mode on
|
102 |
And the "Exclude for Test assignment one" "checkbox" should be disabled
|
102 |
And the "Exclude for Test assignment one" "checkbox" should be disabled
|
103 |
And the "Override for Test assignment one" "checkbox" should be enabled
|
103 |
And the "Override for Test assignment one" "checkbox" should be enabled
|
Línea 104... |
Línea 104... |
104 |
|
104 |
|
Línea 155... |
Línea 155... |
155 |
And I click on "Gronya,Beecham" "link" in the ".stickyfooter" "css_element"
|
155 |
And I click on "Gronya,Beecham" "link" in the ".stickyfooter" "css_element"
|
156 |
Then I should see "Gronya,Beecham"
|
156 |
Then I should see "Gronya,Beecham"
|
157 |
And I open the action menu in "Test assignment four" "table_row"
|
157 |
And I open the action menu in "Test assignment four" "table_row"
|
158 |
And I choose "Show all grades" in the open action menu
|
158 |
And I choose "Show all grades" in the open action menu
|
159 |
Then I should see "Test assignment four"
|
159 |
Then I should see "Test assignment four"
|
160 |
And I click on "Test assignment three" in the "grade" search widget
|
160 |
And I click on "Test assignment three" in the "Search items" search combo box
|
161 |
Then I should see "Test assignment three"
|
161 |
Then I should see "Test assignment three"
|
162 |
And I click on "Test assignment four" in the "grade" search widget
|
162 |
And I click on "Test assignment four" in the "Search items" search combo box
|
163 |
Then I should see "Test assignment four"
|
163 |
Then I should see "Test assignment four"
|
Línea 164... |
Línea 164... |
164 |
|
164 |
|
165 |
Scenario: Activities are clickable only when it has a valid activity page.
|
165 |
Scenario: Activities are clickable only when it has a valid activity page.
|
166 |
Given I click on user menu "Grainne Beauchamp"
|
166 |
Given I click on user menu "Grainne Beauchamp"
|
Línea 179... |
Línea 179... |
179 |
And I am on the "Course 1" "grades > Single view > View" page logged in as "teacher3"
|
179 |
And I am on the "Course 1" "grades > Single view > View" page logged in as "teacher3"
|
180 |
And I should see "Search for a user to view all their grades" in the "region-main" "region"
|
180 |
And I should see "Search for a user to view all their grades" in the "region-main" "region"
|
Línea 181... |
Línea 181... |
181 |
|
181 |
|
182 |
Scenario: Teacher sees his last viewed user report when navigating back to the gradebook singleview report.
|
182 |
Scenario: Teacher sees his last viewed user report when navigating back to the gradebook singleview report.
|
183 |
Given I navigate to "View > Single view" in the course gradebook
|
183 |
Given I navigate to "View > Single view" in the course gradebook
|
184 |
And I click on "Gronya,Beecham" in the "user" search widget
|
184 |
And I click on "Gronya,Beecham" in the "Search users" search combo box
|
185 |
And I should see "Gronya,Beecham" in the "region-main" "region"
|
185 |
And I should see "Gronya,Beecham" in the "region-main" "region"
|
186 |
When I am on the "Course 1" "grades > Single view > View" page
|
186 |
When I am on the "Course 1" "grades > Single view > View" page
|
187 |
Then I should not see "Search for a user to view all their grades" in the "region-main" "region"
|
187 |
Then I should not see "Search for a user to view all their grades" in the "region-main" "region"
|
188 |
And I should see "Gronya,Beecham" in the "region-main" "region"
|
188 |
And I should see "Gronya,Beecham" in the "region-main" "region"
|
189 |
And I am on the "Course 1" "grades > Single view > View" page logged in as "teacher3"
|
189 |
And I am on the "Course 1" "grades > Single view > View" page logged in as "teacher3"
|
Línea 190... |
Línea 190... |
190 |
And I should see "Search for a user to view all their grades" in the "region-main" "region"
|
190 |
And I should see "Search for a user to view all their grades" in the "region-main" "region"
|
191 |
|
191 |
|
192 |
Scenario: Teacher sees his last viewed grade item report when navigating back to the gradebook singleview report.
|
192 |
Scenario: Teacher sees his last viewed grade item report when navigating back to the gradebook singleview report.
|
193 |
Given I navigate to "View > Single view" in the course gradebook
|
193 |
Given I navigate to "View > Single view" in the course gradebook
|
194 |
And I click on "Grade items" "link"
|
194 |
And I click on "Grade items" "link"
|
195 |
And I click on "Test assignment one" in the "grade" search widget
|
195 |
And I click on "Test assignment one" in the "Search items" search combo box
|
196 |
And I should see "Test assignment one" in the "region-main" "region"
|
196 |
And I should see "Test assignment one" in the "region-main" "region"
|
197 |
When I am on the "Course 1" "grades > Single view > View" page
|
197 |
When I am on the "Course 1" "grades > Single view > View" page
|
198 |
Then I should not see "Select a grade item above" in the "region-main" "region"
|
198 |
Then I should not see "Select a grade item above" in the "region-main" "region"
|
Línea 210... |
Línea 210... |
210 |
And I am on the "Course 1" "course editing" page
|
210 |
And I am on the "Course 1" "course editing" page
|
211 |
And I expand all fieldsets
|
211 |
And I expand all fieldsets
|
212 |
And I set the field "Group mode" to "Visible groups"
|
212 |
And I set the field "Group mode" to "Visible groups"
|
213 |
And I press "Save and display"
|
213 |
And I press "Save and display"
|
214 |
And I navigate to "View > Single view" in the course gradebook
|
214 |
And I navigate to "View > Single view" in the course gradebook
|
215 |
And I click on "Nee,Chumlee" in the "user" search widget
|
215 |
And I click on "Nee,Chumlee" in the "Search users" search combo box
|
216 |
And I navigate to "View > Grader report" in the course gradebook
|
216 |
And I navigate to "View > Grader report" in the course gradebook
|
217 |
And I click on "Group 1" in the "group" search widget
|
217 |
And I click on "Group 1" in the "Search groups" search combo box
|
218 |
When I navigate to "View > Single view" in the course gradebook
|
218 |
When I navigate to "View > Single view" in the course gradebook
|
219 |
Then I should see "Nee,Chumlee" in the "region-main" "region"
|
219 |
Then I should see "Nee,Chumlee" in the "region-main" "region"
|
220 |
And I should not see "Search for a user to view all their grades" in the "region-main" "region"
|
220 |
And I should not see "Search for a user to view all their grades" in the "region-main" "region"
|
Línea 221... |
Línea 221... |
221 |
|
221 |
|
Línea 229... |
Línea 229... |
229 |
And I am on the "Course 1" "course editing" page
|
229 |
And I am on the "Course 1" "course editing" page
|
230 |
And I expand all fieldsets
|
230 |
And I expand all fieldsets
|
231 |
And I set the field "Group mode" to "Visible groups"
|
231 |
And I set the field "Group mode" to "Visible groups"
|
232 |
And I press "Save and display"
|
232 |
And I press "Save and display"
|
233 |
And I navigate to "View > Single view" in the course gradebook
|
233 |
And I navigate to "View > Single view" in the course gradebook
|
234 |
And I click on "Gronya,Beecham" in the "user" search widget
|
234 |
And I click on "Gronya,Beecham" in the "Search users" search combo box
|
235 |
And I navigate to "View > Grader report" in the course gradebook
|
235 |
And I navigate to "View > Grader report" in the course gradebook
|
236 |
And I click on "Group 1" in the "group" search widget
|
236 |
And I click on "Group 1" in the "Search groups" search combo box
|
237 |
When I navigate to "View > Single view" in the course gradebook
|
237 |
When I navigate to "View > Single view" in the course gradebook
|
238 |
Then I should see "Search for a user to view all their grades" in the "region-main" "region"
|
238 |
Then I should see "Search for a user to view all their grades" in the "region-main" "region"
|
239 |
And I should not see "Gronya,Beecham" in the "region-main" "region"
|
239 |
And I should not see "Gronya,Beecham" in the "region-main" "region"
|
- |
|
240 |
# edge case coverage: to ensure session variable not causing error upon second visit
|
- |
|
241 |
And I reload the page
|
- |
|
242 |
And I should see "Search for a user to view all their grades" in the "region-main" "region"
|
Línea 240... |
Línea 243... |
240 |
|
243 |
|
241 |
Scenario: Teacher does not see his last viewed user report if that user is no longer enrolled in the course.
|
244 |
Scenario: Teacher does not see his last viewed user report if that user is no longer enrolled in the course.
|
242 |
Given I navigate to "View > Single view" in the course gradebook
|
245 |
Given I navigate to "View > Single view" in the course gradebook
|
243 |
And I click on "Gronya,Beecham" in the "user" search widget
|
246 |
And I click on "Gronya,Beecham" in the "Search users" search combo box
|
244 |
And I navigate to course participants
|
247 |
And I navigate to course participants
|
245 |
And I click on "Unenrol" "icon" in the "Gronya,Beecham" "table_row"
|
248 |
And I click on "Unenrol" "icon" in the "Gronya,Beecham" "table_row"
|
246 |
And I click on "Unenrol" "button" in the "Unenrol" "dialogue"
|
249 |
And I click on "Unenrol" "button" in the "Unenrol" "dialogue"
|
247 |
When I am on the "Course 1" "grades > Single view > View" page
|
250 |
When I am on the "Course 1" "grades > Single view > View" page
|
248 |
Then I should see "Search for a user to view all their grades" in the "region-main" "region"
|
251 |
Then I should see "Search for a user to view all their grades" in the "region-main" "region"
|
- |
|
252 |
And I should not see "Gronya,Beecham" in the "region-main" "region"
|
- |
|
253 |
# edge case coverage: to ensure session variable not causing error upon second visit
|
- |
|
254 |
And I reload the page
|
Línea 249... |
Línea 255... |
249 |
And I should not see "Gronya,Beecham" in the "region-main" "region"
|
255 |
And I should see "Search for a user to view all their grades" in the "region-main" "region"
|
250 |
|
256 |
|
251 |
Scenario: Teacher does not see his last viewed grade item report if the item no longer exists in the course.
|
257 |
Scenario: Teacher does not see his last viewed grade item report if the item no longer exists in the course.
|
252 |
Given I navigate to "View > Single view" in the course gradebook
|
258 |
Given I navigate to "View > Single view" in the course gradebook
|
253 |
And I click on "Grade items" "link"
|
259 |
And I click on "Grade items" "link"
|
254 |
And I click on "Test assignment four" in the "grade" search widget
|
260 |
And I click on "Test assignment four" in the "Search items" search combo box
|
255 |
And I am on "Course 1" course homepage with editing mode on
|
261 |
And I am on "Course 1" course homepage with editing mode on
|
256 |
And I delete "Test assignment four" activity
|
262 |
And I delete "Test assignment four" activity
|
257 |
And I run all adhoc tasks
|
263 |
And I run all adhoc tasks
|
258 |
When I navigate to "View > Single view" in the course gradebook
|
264 |
When I navigate to "View > Single view" in the course gradebook
|
- |
|
265 |
Then I should see "Select a grade item above" in the "region-main" "region"
|
- |
|
266 |
And I should not see "Test grade item" in the "region-main" "region"
|
- |
|
267 |
# edge case coverage: to ensure session variable not causing error upon second visit
|