Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 18... Línea 18...
18
      | user     | course | role           |
18
      | user     | course | role           |
19
      | teacher  | C1     | editingteacher |
19
      | teacher  | C1     | editingteacher |
20
      | student1 | C1     | student        |
20
      | student1 | C1     | student        |
21
      | student2 | C1     | student        |
21
      | student2 | C1     | student        |
22
      | student3 | C1     | student        |
22
      | student3 | C1     | student        |
23
    And the following "question categories" exist:
-
 
24
      | contextlevel | reference | name           |
-
 
25
      | Course       | C1        | Test questions |
-
 
26
    And the following "activities" exist:
23
    And the following "activities" exist:
27
      | activity | name                       | course | idnumber |
24
      | activity | name                       | course | idnumber |
28
      | quiz     | Quiz for testing regrading | C1     | quiz1    |
25
      | quiz     | Quiz for testing regrading | C1     | quiz1    |
-
 
26
    And the following "question categories" exist:
-
 
27
      | contextlevel    | reference | name           |
-
 
28
      | Activity module | quiz1     | Test questions |
29
    And the following "questions" exist:
29
    And the following "questions" exist:
30
      | questioncategory | qtype       | name |
30
      | questioncategory | qtype       | name |
31
      | Test questions   | truefalse   | TF   |
31
      | Test questions   | truefalse   | TF   |
32
      | Test questions   | shortanswer | SA   |
32
      | Test questions   | shortanswer | SA   |
33
    And quiz "Quiz for testing regrading" contains the following questions:
33
    And quiz "Quiz for testing regrading" contains the following questions:
Línea 41... Línea 41...
41
    And user "student2" has attempted "Quiz for testing regrading" with responses:
41
    And user "student2" has attempted "Quiz for testing regrading" with responses:
42
      | slot | response |
42
      | slot | response |
43
      | 1    | True     |
43
      | 1    | True     |
44
      | 2    | toad     |
44
      | 2    | toad     |
Línea 45... Línea 45...
45
 
45
 
46
  Scenario: Regrade all attempts
46
  Scenario: Regrade all attempts and all questions.
47
    Given I am on the "Quiz for testing regrading" "quiz activity" page logged in as teacher
47
    Given I am on the "Quiz for testing regrading" "quiz activity" page logged in as teacher
48
    And I navigate to "Results" in current page administration
48
    And I navigate to "Results" in current page administration
49
    When I press "Regrade all"
-
 
-
 
49
    And I press "Regrade attempts..."
50
 
50
    And I click on "Regrade now" "button" in the "Regrade" "dialogue"
51
    # Note, the order is not defined, so we can only check part of the message.
51
    # Note, the order is not defined, so we can only check part of the message.
52
    # Also, nothing has changed in the quiz, so the regrade won't alter any scores,
52
    # Also, nothing has changed in the quiz, so the regrade won't alter any scores,
53
    # but this is still a useful test that the regrade process completes without errors.
53
    # but this is still a useful test that the regrade process completes without errors.
54
    Then I should see "Quiz for testing regrading"
54
    Then I should see "Quiz for testing regrading"
Línea 58... Línea 58...
58
 
58
 
59
    # These next tests just serve to check we got back to the report.
59
    # These next tests just serve to check we got back to the report.
60
    And I should see "Quiz for testing regrading"
60
    And I should see "Quiz for testing regrading"
Línea 61... Línea 61...
61
    And I should see "Overall number of students achieving grade ranges"
61
    And I should see "Overall number of students achieving grade ranges"
62
 
62
 
63
  Scenario: Regrade selected attempts
63
  Scenario: Regrade selected attempts and all questions.
64
    Given I am on the "Quiz for testing regrading" "quiz activity" page logged in as teacher
64
    Given I am on the "Quiz for testing regrading" "quiz activity" page logged in as teacher
65
    And I navigate to "Results" in current page administration
-
 
66
    When I click on "Select attempt" "checkbox" in the "Student Two" "table_row"
65
    And I navigate to "Results" in current page administration
-
 
66
    When I click on "Select attempt" "checkbox" in the "Student Two" "table_row"
67
 
67
    And I press "Regrade attempts..."
68
    And I press "Regrade selected attempts"
68
    And I click on "Regrade now" "button" in the "Regrade" "dialogue"
69
    Then I should see "Quiz for testing regrading"
69
    Then I should see "Quiz for testing regrading"
70
    And I should see "Finished regrading (1/1)"
70
    And I should see "Finished regrading (1/1)"
Línea 71... Línea 71...
71
    And I should see "Regrade completed"
71
    And I should see "Regrade completed"
72
    And I press "Continue"
72
    And I press "Continue"
73
 
73
 
Línea -... Línea 74...
-
 
74
    # These next tests just serve to check we got back to the report.
-
 
75
    And I should see "Quiz for testing regrading"
-
 
76
    And I should see "Overall number of students achieving grade ranges"
-
 
77
 
-
 
78
  Scenario: Regrade all attempts and selected questions.
-
 
79
    Given I am on the "Quiz for testing regrading" "mod_quiz > edit" page logged in as teacher
-
 
80
    When I follow "Edit question SA"
-
 
81
    And I set the field "id_fraction_1" to "50%"
-
 
82
    And I press "id_submitbutton"
-
 
83
    And I follow "Edit question TF"
-
 
84
    And I set the field "Correct answer" to "False"
-
 
85
    And I press "id_submitbutton"
-
 
86
    And I follow "Attempts: 2"
-
 
87
    And I press "Regrade attempts..."
-
 
88
    And I click on "Selected questions" "radio"
-
 
89
    And I click on "Question 1" "checkbox"
-
 
90
    And I click on "Regrade now" "button" in the "Regrade" "dialogue"
-
 
91
    Then I should see "Quiz for testing regrading"
-
 
92
    And I should see "Finished regrading (2/2)"
-
 
93
    And I should see "Regrade completed"
-
 
94
    And I press "Continue"
-
 
95
    And "Student OneReview attempt" row "Q. 1/50.00" column of "attempts" table should contain "50.00/0.00"
-
 
96
    And "Student TwoReview attempt" row "Q. 1/50.00" column of "attempts" table should contain "50.00/0.00"
-
 
97
    And "Student OneReview attempt" row "Grade/100.00" column of "attempts" table should contain "100.00/50.00"
-
 
98
    And "Student TwoReview attempt" row "Grade/100.00" column of "attempts" table should contain "90.00/40.00"
-
 
99
 
-
 
100
  Scenario: Regrade selected attempts and selected questions.
-
 
101
    Given I am on the "Quiz for testing regrading" "mod_quiz > edit" page logged in as teacher
-
 
102
    When I follow "Edit question SA"
-
 
103
    And I set the field "id_fraction_1" to "50%"
-
 
104
    And I press "id_submitbutton"
-
 
105
    And I follow "Edit question TF"
-
 
106
    And I set the field "Correct answer" to "False"
-
 
107
    And I press "id_submitbutton"
-
 
108
    And I follow "Attempts: 2"
-
 
109
    And I click on "Select attempt" "checkbox" in the "Student Two" "table_row"
-
 
110
    And I press "Regrade attempts..."
-
 
111
    And the "Question 1" "checkbox" should be disabled
-
 
112
    And the "Question 2" "checkbox" should be disabled
-
 
113
    And I click on "Selected questions" "radio"
-
 
114
    And the "Question 1" "checkbox" should be enabled
-
 
115
    And the "Question 2" "checkbox" should be enabled
-
 
116
    And the "Regrade now" "button" should be disabled
-
 
117
    And the "Dry run" "button" should be disabled
-
 
118
    And I click on "Question 1" "checkbox"
-
 
119
    And the "Regrade now" "button" should be enabled
-
 
120
    And the "Dry run" "button" should be enabled
-
 
121
    And I click on "Regrade now" "button" in the "Regrade" "dialogue"
-
 
122
    Then I should see "Quiz for testing regrading"
-
 
123
    And I should see "Finished regrading (1/1)"
-
 
124
    And I should see "Regrade completed"
74
    # These next tests just serve to check we got back to the report.
125
    And I press "Continue"
75
    And I should see "Quiz for testing regrading"
126
    And "Student TwoReview attempt" row "Q. 1/50.00" column of "attempts" table should contain "50.00/0.00"
76
    And I should see "Overall number of students achieving grade ranges"
127
    And "Student TwoReview attempt" row "Grade/100.00" column of "attempts" table should contain "90.00/40.00"
77
 
128
 
78
  Scenario: Dry-run a full regrade, then regrade the attempts that will need it.
129
  Scenario: Dry-run all attempts, then regrade all attempts.
79
    Given I am on the "Quiz for testing regrading" "mod_quiz > edit" page logged in as teacher
130
    Given I am on the "Quiz for testing regrading" "mod_quiz > edit" page logged in as teacher
80
    And I follow "Edit question SA"
131
    And I follow "Edit question SA"
81
    And I set the field "id_fraction_1" to "50%"
132
    And I set the field "id_fraction_1" to "50%"
82
    And I press "id_submitbutton"
133
    And I press "id_submitbutton"
83
    And I set the field "version" in the "TF" "list_item" to "v1"
-
 
-
 
134
    And I set the field "version" in the "TF" "list_item" to "v1"
84
    And I set the field "version" in the "SA" "list_item" to "v2 (latest)"
135
    And I set the field "version" in the "SA" "list_item" to "v2 (latest)"
85
    And I follow "Attempts: 2"
136
    And I follow "Attempts: 2"
86
    And I press "Dry run a full regrade"
137
    And I press "Regrade attempts..."
87
 
138
    And I click on "Dry run" "button" in the "Regrade" "dialogue"
88
    # Note, the order is not defined, so we can only check part of the message.
139
    # Note, the order is not defined, so we can only check part of the message.
-
 
140
    Then I should see "Quiz for testing regrading"
-
 
141
    And I should see "Finished regrading (2/2)"
-
 
142
    And I should see "Regrade completed"
-
 
143
    And I press "Continue"
-
 
144
    And "Student One" row "Regrade" column of "attempts" table should not contain "Needed"
-
 
145
    And "Student TwoReview attempt" row "Regrade" column of "attempts" table should contain "Needed"
-
 
146
    # In the following, the first number is strike-through, and the second is not, but Behat can't see that.
-
 
147
    # At this point, it is showing what would change.
-
 
148
    And "Student TwoReview attempt" row "Q. 2/50.00" column of "attempts" table should contain "40.00/25.00"
-
 
149
    And "Student TwoReview attempt" row "Grade/100.00" column of "attempts" table should contain "90.00/75.00"
-
 
150
    And I press "Regrade attempts..."
-
 
151
    And I click on "Regrade now" "button" in the "Regrade" "dialogue"
-
 
152
    And I should see "Quiz for testing regrading"
-
 
153
    And I should see "Finished regrading (2/2)"
-
 
154
    And I should see "Regrade completed"
-
 
155
    And I press "Continue"
-
 
156
    # These next tests just serve to check we got back to the report.
-
 
157
    And I should see "Quiz for testing regrading"
Línea -... Línea 158...
-
 
158
    And I should see "Overall number of students achieving grade ranges"
-
 
159
    # Now, both old-score strike-through and new score plain, are still shown, but now it indicates what did change.
-
 
160
    And "Student TwoReview attempt" row "Q. 2/50.00" column of "attempts" table should contain "40.00/25.00"
-
 
161
    And "Student TwoReview attempt" row "Grade/100.00" column of "attempts" table should contain "90.00/75.00"
-
 
162
 
-
 
163
  Scenario: Dry-run a full regrade, then regrade the commit regrade.
-
 
164
    Given I am on the "Quiz for testing regrading" "mod_quiz > edit" page logged in as teacher
-
 
165
    When I follow "Edit question SA"
-
 
166
    And I set the field "id_fraction_1" to "50%"
-
 
167
    And I press "id_submitbutton"
-
 
168
    And I set the field "version" in the "TF" "list_item" to "v1"
-
 
169
    And I set the field "version" in the "SA" "list_item" to "v2 (latest)"
-
 
170
    And I follow "Attempts: 2"
-
 
171
    And I press "Regrade attempts..."
-
 
172
    And I click on "Dry run" "button" in the "Regrade" "dialogue"
89
    Then I should see "Quiz for testing regrading"
173
    # Note, the order is not defined, so we can only check part of the message.
90
    And I should see "Finished regrading (2/2)"
174
    And I should see "Quiz for testing regrading"
91
    And I should see "Regrade completed"
175
    And I should see "Finished regrading (2/2)"
92
    And I press "Continue"
176
    And I should see "Regrade completed"
93
 
177
    And I press "Continue"
94
    And "Student One" row "Regrade" column of "attempts" table should not contain "Needed"
178
    And "Student One" row "Regrade" column of "attempts" table should not contain "Needed"
-
 
179
    And "Student TwoReview attempt" row "Regrade" column of "attempts" table should contain "Needed"
95
    And "Student TwoReview attempt" row "Regrade" column of "attempts" table should contain "Needed"
180
    # In the following, the first number is strike-through, and the second is not, but Behat can't see that.
96
    # In the following, the first number is strike-through, and the second is not, but Behat can't see that.
181
    # At this point, it is showing what would change.
97
    # At this point, it is showing what would change.
182
    And "Student TwoReview attempt" row "Q. 2/50.00" column of "attempts" table should contain "40.00/25.00"
98
    And "Student TwoReview attempt" row "Q. 2/50.00Sort by Q. 2/50.00 Ascending" column of "attempts" table should contain "40.00/25.00"
183
    And "Student TwoReview attempt" row "Grade/100.00" column of "attempts" table should contain "90.00/75.00"
99
    And "Student TwoReview attempt" row "Grade/100.00Sort by Grade/100.00 Ascending" column of "attempts" table should contain "90.00/75.00"
184
    Then I should see "The last dry run of a regrade found that the regrade would change the marks for 1 questions in 1 attempts."
Línea 100... Línea 185...
100
    And I press "Regrade attempts marked as needing regrading (1)"
185
    And I press "Commit regrade"
101
    And I should see "Quiz for testing regrading"
186
    And I should see "Quiz for testing regrading"
102
    And I should see "Finished regrading (1/1)"
187
    And I should see "Finished regrading (1/1)"
103
    And I should see "Regrade completed"
188
    And I should see "Regrade completed"
104
    And I press "Continue"
189
    And I press "Continue"
105
 
190
 
106
    # These next tests just serve to check we got back to the report.
191
    # These next tests just serve to check we got back to the report.
Línea 107... Línea 192...
107
    And I should see "Quiz for testing regrading"
192
    And I should see "Quiz for testing regrading"
108
    And I should see "Overall number of students achieving grade ranges"
193
    And I should see "Overall number of students achieving grade ranges"
109
    # Now, both old-score strike-through and new score plain, are still shown, but now it indicates what did change.
194
    # Now, both old-score strike-through and new score plain, are still shown, but now it indicates what did change.
110
    And "Student TwoReview attempt" row "Q. 2/50.00Sort by Q. 2/50.00 Ascending" column of "attempts" table should contain "40.00/25.00"
195
    And "Student TwoReview attempt" row "Q. 2/50.00" column of "attempts" table should contain "40.00/25.00"
-
 
196
    And "Student TwoReview attempt" row "Grade/100.00" column of "attempts" table should contain "90.00/75.00"
111
    And "Student TwoReview attempt" row "Grade/100.00Sort by Grade/100.00 Ascending" column of "attempts" table should contain "90.00/75.00"
197
    And I should not see "The last dry run of a regrade found that the regrade would change the marks for 1 questions in 1 attempts."
112
    And "Regrade attempts marked as needing regrading" "button" should not exist
198
 
113
 
199
  Scenario: Regrade all attempts works against quiz selected question version
114
  Scenario: Regrade all attempts works against quiz selected question version
200
    Given I am on the "Quiz for testing regrading" "quiz activity" page logged in as teacher
115
    Given I am on the "Quiz for testing regrading" "quiz activity" page logged in as teacher
201
    And I navigate to "Results" in current page administration
116
    And I navigate to "Results" in current page administration
202
    And I press "Regrade attempts..."
117
    When I press "Dry run a full regrade"
203
    And I click on "Dry run" "button" in the "Regrade" "dialogue"
118
    Then I should see "Quiz for testing regrading"
204
    Then I should see "Quiz for testing regrading"
-
 
205
    And I should see "Finished regrading (2/2)"
119
    And I should see "Finished regrading (2/2)"
206
    And I should see "Regrade completed"
120
    And I should see "Regrade completed"
207
    And I press "Continue"
121
    And I press "Continue"
208
    And I should see "Quiz for testing regrading"
122
    And I should see "Quiz for testing regrading"
209
    And I should see "Overall number of students achieving grade ranges"
123
    And I should see "Overall number of students achieving grade ranges"
210
    And "Student One" row "Regrade" column of "attempts" table should not contain "Needed"
124
    And "Student One" row "Regrade" column of "attempts" table should not contain "Needed"
211
    And I am on the "Quiz for testing regrading" "mod_quiz > question bank" page
125
    And I am on the "Quiz for testing regrading" "mod_quiz > question bank" page
212
    And I apply question bank filter "Category" with value "Test questions"
-
 
213
    And I choose "Edit question" action for "TF" in the question bank
126
    And I choose "Edit question" action for "TF" in the question bank
214
    And I set the field "Correct answer" to "False"
127
    And I set the field "Correct answer" to "False"
215
    And I press "id_submitbutton"
128
    And I press "id_submitbutton"
216
    And I am on the "Quiz for testing regrading" "mod_quiz > edit" page
129
    And I am on the "Quiz for testing regrading" "mod_quiz > edit" page
217
    And I set the field "version" in the "TF" "list_item" to "v2 (latest)"
130
    And I set the field "version" in the "TF" "list_item" to "v2 (latest)"
218
    And I navigate to "Results" in current page administration
-
 
219
    And I press "Regrade attempts..."
131
    And I navigate to "Results" in current page administration
220
    And I click on "Dry run" "button" in the "Regrade" "dialogue"
132
    And I press "Dry run a full regrade"
221
    And I should see "Regrade completed"
133
    And I should see "Regrade completed"
222
    And I press "Continue"
134
    And I press "Continue"
223
    And "student1@example.com" row "Regrade" column of "attempts" table should contain "Needed"
135
    And "student1@example.com" row "Regrade" column of "attempts" table should contain "Needed"
224
    And "Correct" "icon" should appear before "50.00/0.00" "text"
Línea 136... Línea 225...
136
    And "Correct" "icon" should appear before "50.00/0.00" "text"
225
    And I press "Regrade attempts..."
137
    And I press "Regrade all"
226
    And I click on "Regrade now" "button" in the "Regrade" "dialogue"
138
    And I should see "Regrade completed"
227
    And I should see "Regrade completed"
Línea 149... Línea 238...
149
    And I click on "Yes" "button"
238
    And I click on "Yes" "button"
150
    And I am on the "Quiz for testing regrading" "mod_quiz > edit" page
239
    And I am on the "Quiz for testing regrading" "mod_quiz > edit" page
151
    And I should see "(latest)" in the "TF" "list_item"
240
    And I should see "(latest)" in the "TF" "list_item"
152
    # Create multiple question versions.
241
    # Create multiple question versions.
153
    And I am on the "Quiz for testing regrading" "mod_quiz > question bank" page
242
    And I am on the "Quiz for testing regrading" "mod_quiz > question bank" page
-
 
243
    And I apply question bank filter "Category" with value "Test questions"
154
    And I choose "Edit question" action for "TF" in the question bank
244
    And I choose "Edit question" action for "TF" in the question bank
155
    And I set the field "Correct answer" to "True"
245
    And I set the field "Correct answer" to "True"
156
    And I press "id_submitbutton"
246
    And I press "id_submitbutton"
157
    And I choose "Edit question" action for "TF" in the question bank
247
    And I choose "Edit question" action for "TF" in the question bank
158
    And I set the field "Question name" to "New version of TF"
248
    And I set the field "Question name" to "New version of TF"
Línea 171... Línea 261...
171
      | 1    | True     |
261
      | 1    | True     |
172
      | 2    | toad     |
262
      | 2    | toad     |
173
    And I am on the "Quiz for testing regrading" "mod_quiz > edit" page
263
    And I am on the "Quiz for testing regrading" "mod_quiz > edit" page
174
    And I set the field "version" in the "TF" "list_item" to "Always latest"
264
    And I set the field "version" in the "TF" "list_item" to "Always latest"
175
    And I navigate to "Results" in current page administration
265
    And I navigate to "Results" in current page administration
176
    And I press "Regrade all"
266
    And I press "Regrade attempts..."
-
 
267
    And I click on "Regrade now" "button" in the "Regrade" "dialogue"
177
    And I should see "Finished regrading (1/1)"
268
    And I should see "Finished regrading (1/1)"
178
    And I should see "Regrade completed"
269
    And I should see "Regrade completed"
179
    And I press "Continue"
270
    And I press "Continue"
180
    Then "student3@example.com" row "Q. 1/50.00Sort by Q. 1/50.00 Ascending" column of "attempts" table should contain "50.00/0.00"
271
    Then "student3@example.com" row "Q. 1/50.00" column of "attempts" table should contain "50.00/0.00"
181
    And "Incorrect" "icon" should appear before "50.00/0.00" "text"
272
    And "Incorrect" "icon" should appear before "50.00/0.00" "text"
Línea 182... Línea 273...
182
 
273
 
183
  Scenario: Regrade attempts should always regrade against latest random question version
274
  Scenario: Regrade attempts should always regrade against latest random question version
184
    Given I am on the "Quiz for testing regrading" "quiz activity" page logged in as teacher
275
    Given I am on the "Quiz for testing regrading" "quiz activity" page logged in as teacher
185
    And I navigate to "Results" in current page administration
276
    And I navigate to "Results" in current page administration
186
    And I click on "mod-quiz-report-overview-report-selectall-attempts" "checkbox"
277
    And I click on "mod-quiz-report-overview-report-selectall-attempts" "checkbox"
187
    And I click on "Delete selected attempts" "button"
278
    And I click on "Delete selected attempts" "button"
188
    And I click on "Yes" "button"
279
    And I click on "Yes" "button"
189
    # Create multiple question versions.
280
    # Create multiple question versions.
-
 
281
    And I am on the "Quiz for testing regrading" "mod_quiz > question bank" page
190
    And I am on the "Quiz for testing regrading" "mod_quiz > question bank" page
282
    And I apply question bank filter "Category" with value "Test questions"
191
    And I choose "Delete" action for "SA" in the question bank
283
    And I choose "Delete" action for "SA" in the question bank
192
    And I press "Delete"
284
    And I press "Delete"
193
    And I am on the "Quiz for testing regrading" "mod_quiz > edit" page
285
    And I am on the "Quiz for testing regrading" "mod_quiz > edit" page
194
    And I click on "Delete" "link" in the "TF" "list_item"
286
    And I click on "Delete" "link" in the "TF" "list_item"
195
    And I click on "Yes" "button" in the "Confirm" "dialogue"
287
    And I click on "Yes" "button" in the "Confirm" "dialogue"
196
    And I click on "Delete" "link" in the "SA" "list_item"
288
    And I click on "Delete" "link" in the "SA" "list_item"
197
    And I click on "Yes" "button" in the "Confirm" "dialogue"
289
    And I click on "Yes" "button" in the "Confirm" "dialogue"
198
    And I click on "Add" "link"
290
    And I click on "Add" "link"
-
 
291
    And I follow "a random question"
199
    And I follow "a random question"
292
    And I apply question bank filter "Category" with value "Test questions"
200
    And I press "Add random question"
293
    And I press "Add random question"
201
    And I am on the "Quiz for testing regrading" "quiz activity" page logged in as student3
294
    And I am on the "Quiz for testing regrading" "quiz activity" page logged in as student3
202
    And I click on "Attempt quiz" "button"
295
    And I click on "Attempt quiz" "button"
203
    And I should see "The answer is true."
296
    And I should see "The answer is true."
204
    And I set the field "True" to "1"
297
    And I set the field "True" to "1"
205
    And I click on "Finish attempt ..." "button"
298
    And I click on "Finish attempt ..." "button"
206
    And I press "Submit all and finish"
299
    And I press "Submit all and finish"
207
    And I click on "Submit" "button" in the "Submit all your answers and finish?" "dialogue"
300
    And I click on "Submit" "button" in the "Submit all your answers and finish?" "dialogue"
-
 
301
    And I am on the "Quiz for testing regrading" "mod_quiz > question bank" page logged in as teacher
208
    And I am on the "Quiz for testing regrading" "mod_quiz > question bank" page logged in as teacher
302
    And I apply question bank filter "Category" with value "Test questions"
209
    And I choose "Edit question" action for "TF" in the question bank
303
    And I choose "Edit question" action for "TF" in the question bank
210
    And I set the field "Correct answer" to "False"
304
    And I set the field "Correct answer" to "False"
211
    And I press "id_submitbutton"
305
    And I press "id_submitbutton"
212
    And I navigate to "Results" in current page administration
306
    And I navigate to "Results" in current page administration
213
    And "student3@example.com" row "Q. 1/100.00Sort by Q. 1/100.00 Ascending" column of "attempts" table should contain "100.00"
307
    And "student3@example.com" row "Q. 1/100.00" column of "attempts" table should contain "100.00"
214
    And "Correct" "icon" should be visible
308
    And "Correct" "icon" should be visible
-
 
309
    And I press "Regrade attempts..."
215
    And I press "Regrade all"
310
    And I click on "Regrade now" "button" in the "Regrade" "dialogue"
216
    And I should see "Finished regrading (1/1)"
311
    And I should see "Finished regrading (1/1)"
217
    And I should see "Regrade completed"
312
    And I should see "Regrade completed"
218
    And I press "Continue"
313
    And I press "Continue"
219
    Then "student3@example.com" row "Q. 1/100.00Sort by Q. 1/100.00 Ascending" column of "attempts" table should contain "100.00/0.00"
314
    Then "student3@example.com" row "Q. 1/100.00" column of "attempts" table should contain "100.00/0.00"