Línea 55... |
Línea 55... |
55 |
@javascript @skip_chrome_zerosize
|
55 |
@javascript @skip_chrome_zerosize
|
56 |
Scenario: Mean of grades aggregation
|
56 |
Scenario: Mean of grades aggregation
|
57 |
And I set the following settings for grade item "Course 1" of type "course" on "setup" page:
|
57 |
And I set the following settings for grade item "Course 1" of type "course" on "setup" page:
|
58 |
| Aggregation | Mean of grades |
|
58 |
| Aggregation | Mean of grades |
|
59 |
And I navigate to "View > User report" in the course gradebook
|
59 |
And I navigate to "View > User report" in the course gradebook
|
60 |
And I click on "Student 1" in the "user" search widget
|
60 |
And I click on "Student 1" in the "Search users" search combo box
|
Línea 61... |
Línea 61... |
61 |
|
61 |
|
62 |
# Check the values in the weights column.
|
62 |
# Check the values in the weights column.
|
63 |
Then the following should exist in the "user-grade" table:
|
63 |
Then the following should exist in the "user-grade" table:
|
64 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
64 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
Línea 80... |
Línea 80... |
80 |
And I set the following settings for grade item "Test assignment three" of type "gradeitem" on "setup" page:
|
80 |
And I set the following settings for grade item "Test assignment three" of type "gradeitem" on "setup" page:
|
81 |
| Item weight | 1.0 |
|
81 |
| Item weight | 1.0 |
|
82 |
And I set the following settings for grade item "Sub category" of type "category" on "setup" page:
|
82 |
And I set the following settings for grade item "Sub category" of type "category" on "setup" page:
|
83 |
| Item weight | 1.0 |
|
83 |
| Item weight | 1.0 |
|
84 |
And I navigate to "View > User report" in the course gradebook
|
84 |
And I navigate to "View > User report" in the course gradebook
|
85 |
And I click on "Student 1" in the "user" search widget
|
85 |
And I click on "Student 1" in the "Search users" search combo box
|
Línea 86... |
Línea 86... |
86 |
|
86 |
|
87 |
# Check the values in the weights column.
|
87 |
# Check the values in the weights column.
|
88 |
Then the following should exist in the "user-grade" table:
|
88 |
Then the following should exist in the "user-grade" table:
|
89 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
89 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
Línea 101... |
Línea 101... |
101 |
And I set the following settings for grade item "Sub category" of type "category" on "setup" page:
|
101 |
And I set the following settings for grade item "Sub category" of type "category" on "setup" page:
|
102 |
| Aggregation | Simple weighted mean of grades |
|
102 |
| Aggregation | Simple weighted mean of grades |
|
103 |
And I set the following settings for grade item "Test assignment three" of type "gradeitem" on "setup" page:
|
103 |
And I set the following settings for grade item "Test assignment three" of type "gradeitem" on "setup" page:
|
104 |
| Extra credit | 1 |
|
104 |
| Extra credit | 1 |
|
105 |
And I navigate to "View > User report" in the course gradebook
|
105 |
And I navigate to "View > User report" in the course gradebook
|
106 |
And I click on "Student 1" in the "user" search widget
|
106 |
And I click on "Student 1" in the "Search users" search combo box
|
Línea 107... |
Línea 107... |
107 |
|
107 |
|
108 |
# Check the values in the weights column.
|
108 |
# Check the values in the weights column.
|
109 |
Then the following should exist in the "user-grade" table:
|
109 |
Then the following should exist in the "user-grade" table:
|
110 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
110 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
Línea 120... |
Línea 120... |
120 |
And I set the following settings for grade item "Course 1" of type "course" on "setup" page:
|
120 |
And I set the following settings for grade item "Course 1" of type "course" on "setup" page:
|
121 |
| Aggregation | Mean of grades (with extra credits) |
|
121 |
| Aggregation | Mean of grades (with extra credits) |
|
122 |
And I set the following settings for grade item "Test assignment three" of type "gradeitem" on "setup" page:
|
122 |
And I set the following settings for grade item "Test assignment three" of type "gradeitem" on "setup" page:
|
123 |
| Extra credit weight | 1.0 |
|
123 |
| Extra credit weight | 1.0 |
|
124 |
And I navigate to "View > User report" in the course gradebook
|
124 |
And I navigate to "View > User report" in the course gradebook
|
125 |
And I click on "Student 1" in the "user" search widget
|
125 |
And I click on "Student 1" in the "Search users" search combo box
|
Línea 126... |
Línea 126... |
126 |
|
126 |
|
127 |
# Check the values in the weights column.
|
127 |
# Check the values in the weights column.
|
128 |
Then the following should exist in the "user-grade" table:
|
128 |
Then the following should exist in the "user-grade" table:
|
129 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
129 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
Línea 137... |
Línea 137... |
137 |
@javascript @skip_chrome_zerosize
|
137 |
@javascript @skip_chrome_zerosize
|
138 |
Scenario: Median of grades aggregation
|
138 |
Scenario: Median of grades aggregation
|
139 |
And I set the following settings for grade item "Course 1" of type "course" on "setup" page:
|
139 |
And I set the following settings for grade item "Course 1" of type "course" on "setup" page:
|
140 |
| Aggregation | Median of grades |
|
140 |
| Aggregation | Median of grades |
|
141 |
And I navigate to "View > User report" in the course gradebook
|
141 |
And I navigate to "View > User report" in the course gradebook
|
142 |
And I click on "Student 1" in the "user" search widget
|
142 |
And I click on "Student 1" in the "Search users" search combo box
|
Línea 143... |
Línea 143... |
143 |
|
143 |
|
144 |
# Check the values in the weights column.
|
144 |
# Check the values in the weights column.
|
145 |
Then the following should exist in the "user-grade" table:
|
145 |
Then the following should exist in the "user-grade" table:
|
146 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
146 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
Línea 154... |
Línea 154... |
154 |
@javascript @skip_chrome_zerosize
|
154 |
@javascript @skip_chrome_zerosize
|
155 |
Scenario: Lowest grade aggregation
|
155 |
Scenario: Lowest grade aggregation
|
156 |
And I set the following settings for grade item "Course 1" of type "course" on "setup" page:
|
156 |
And I set the following settings for grade item "Course 1" of type "course" on "setup" page:
|
157 |
| Aggregation | Lowest grade |
|
157 |
| Aggregation | Lowest grade |
|
158 |
And I navigate to "View > User report" in the course gradebook
|
158 |
And I navigate to "View > User report" in the course gradebook
|
159 |
And I click on "Student 1" in the "user" search widget
|
159 |
And I click on "Student 1" in the "Search users" search combo box
|
Línea 160... |
Línea 160... |
160 |
|
160 |
|
161 |
# Check the values in the weights column.
|
161 |
# Check the values in the weights column.
|
162 |
Then the following should exist in the "user-grade" table:
|
162 |
Then the following should exist in the "user-grade" table:
|
163 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
163 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
Línea 171... |
Línea 171... |
171 |
@javascript @skip_chrome_zerosize
|
171 |
@javascript @skip_chrome_zerosize
|
172 |
Scenario: Highest grade aggregation
|
172 |
Scenario: Highest grade aggregation
|
173 |
And I set the following settings for grade item "Course 1" of type "course" on "setup" page:
|
173 |
And I set the following settings for grade item "Course 1" of type "course" on "setup" page:
|
174 |
| Aggregation | Highest grade |
|
174 |
| Aggregation | Highest grade |
|
175 |
And I navigate to "View > User report" in the course gradebook
|
175 |
And I navigate to "View > User report" in the course gradebook
|
176 |
And I click on "Student 1" in the "user" search widget
|
176 |
And I click on "Student 1" in the "Search users" search combo box
|
Línea 177... |
Línea 177... |
177 |
|
177 |
|
178 |
# Check the values in the weights column.
|
178 |
# Check the values in the weights column.
|
179 |
Then the following should exist in the "user-grade" table:
|
179 |
Then the following should exist in the "user-grade" table:
|
180 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
180 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
Línea 188... |
Línea 188... |
188 |
@javascript @skip_chrome_zerosize
|
188 |
@javascript @skip_chrome_zerosize
|
189 |
Scenario: Mode of grades aggregation
|
189 |
Scenario: Mode of grades aggregation
|
190 |
And I set the following settings for grade item "Course 1" of type "course" on "setup" page:
|
190 |
And I set the following settings for grade item "Course 1" of type "course" on "setup" page:
|
191 |
| Aggregation | Mode of grades |
|
191 |
| Aggregation | Mode of grades |
|
192 |
And I navigate to "View > User report" in the course gradebook
|
192 |
And I navigate to "View > User report" in the course gradebook
|
193 |
And I click on "Student 1" in the "user" search widget
|
193 |
And I click on "Student 1" in the "Search users" search combo box
|
Línea 194... |
Línea 194... |
194 |
|
194 |
|
195 |
# Check the values in the weights column.
|
195 |
# Check the values in the weights column.
|
196 |
Then the following should exist in the "user-grade" table:
|
196 |
Then the following should exist in the "user-grade" table:
|
197 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
197 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
Línea 210... |
Línea 210... |
210 |
And I set the following settings for grade item "Sub category" of type "category" on "setup" page:
|
210 |
And I set the following settings for grade item "Sub category" of type "category" on "setup" page:
|
211 |
| Aggregation | Weighted mean of grades |
|
211 |
| Aggregation | Weighted mean of grades |
|
212 |
And I set the following settings for grade item "Test assignment three" of type "gradeitem" on "setup" page:
|
212 |
And I set the following settings for grade item "Test assignment three" of type "gradeitem" on "setup" page:
|
213 |
| aggregationcoef | 1 |
|
213 |
| aggregationcoef | 1 |
|
214 |
And I navigate to "View > User report" in the course gradebook
|
214 |
And I navigate to "View > User report" in the course gradebook
|
215 |
And I click on "Student 1" in the "user" search widget
|
215 |
And I click on "Student 1" in the "Search users" search combo box
|
Línea 216... |
Línea 216... |
216 |
|
216 |
|
217 |
# Check the values in the weights column.
|
217 |
# Check the values in the weights column.
|
218 |
Then the following should exist in the "user-grade" table:
|
218 |
Then the following should exist in the "user-grade" table:
|
219 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
219 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
Línea 229... |
Línea 229... |
229 |
@javascript @skip_chrome_zerosize
|
229 |
@javascript @skip_chrome_zerosize
|
230 |
Scenario: View user report with natural aggregation
|
230 |
Scenario: View user report with natural aggregation
|
231 |
And I set the following settings for grade item "Test assignment three" of type "gradeitem" on "setup" page:
|
231 |
And I set the following settings for grade item "Test assignment three" of type "gradeitem" on "setup" page:
|
232 |
| Extra credit | 1 |
|
232 |
| Extra credit | 1 |
|
233 |
And I navigate to "View > User report" in the course gradebook
|
233 |
And I navigate to "View > User report" in the course gradebook
|
234 |
And I click on "Student 1" in the "user" search widget
|
234 |
And I click on "Student 1" in the "Search users" search combo box
|
Línea 235... |
Línea 235... |
235 |
|
235 |
|
236 |
# Check the values in the weights column.
|
236 |
# Check the values in the weights column.
|
237 |
Then the following should exist in the "user-grade" table:
|
237 |
Then the following should exist in the "user-grade" table:
|
238 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|
238 |
| Grade item | Calculated weight | Grade | Contribution to course total |
|