| Línea 20... |
Línea 20... |
| 20 |
| student2 | C1 | student |
|
20 |
| student2 | C1 | student |
|
| 21 |
And the following "activities" exist:
|
21 |
And the following "activities" exist:
|
| 22 |
| activity | name | course | idnumber |
|
22 |
| activity | name | course | idnumber |
|
| 23 |
| feedback | Learning experience | C1 | feedback0 |
|
23 |
| feedback | Learning experience | C1 | feedback0 |
|
| 24 |
And I am on the "Learning experience" "feedback activity" page logged in as teacher1
|
24 |
And I am on the "Learning experience" "feedback activity" page logged in as teacher1
|
| 25 |
And I click on "Edit questions" "link" in the "[role=main]" "css_element"
|
25 |
And I navigate to "Questions" in current page administration
|
| Línea 26... |
Línea 26... |
| 26 |
|
26 |
|
| 27 |
@javascript
|
27 |
@javascript
|
| 28 |
Scenario: Non-rated single-answer multiple choice questions in feedback
|
28 |
Scenario: Non-rated single-answer multiple choice questions in feedback
|
| 29 |
When I add a "Multiple choice" question to the feedback with:
|
29 |
When I add a "Multiple choice" question to the feedback with:
|
| 30 |
| Question | this is a multiple choice 1 |
|
30 |
| Question | this is a multiple choice 1 |
|
| 31 |
| Label | multichoice1 |
|
31 |
| Label | multichoice1 |
|
| 32 |
| Multiple choice type | Multiple choice - single answer |
|
32 |
| Multiple choice type | Multiple choice - single answer |
|
| 33 |
| Multiple choice values | option a\noption b\noption c |
|
33 |
| Multiple choice values | option a\noption b\noption c |
|
| 34 |
And I add a "Text and media area" question to the feedback with:
|
34 |
And I add a "Text and media area" question to the feedback with:
|
| 35 |
| Contents | this is the first page of the feedback |
|
35 |
| Contents | this is the first page of the feedback |
|
| 36 |
And I select "Add a page break" from the "typ" singleselect
|
36 |
And I add a page break to the feedback
|
| 37 |
And I add a "Multiple choice" question to the feedback with:
|
37 |
And I add a "Multiple choice" question to the feedback with:
|
| 38 |
| Question | this is a multiple choice 2 |
|
38 |
| Question | this is a multiple choice 2 |
|
| 39 |
| Label | multichoice2 |
|
39 |
| Label | multichoice2 |
|
| 40 |
| Multiple choice type | Multiple choice - single answer |
|
40 |
| Multiple choice type | Multiple choice - single answer |
|
| 41 |
| Multiple choice values | option d\noption e\noption f |
|
41 |
| Multiple choice values | option d\noption e\noption f |
|
| 42 |
| Required | 1 |
|
42 |
| Required | 1 |
|
| 43 |
And I add a "Text and media area" question to the feedback with:
|
43 |
And I add a "Text and media area" question to the feedback with:
|
| 44 |
| Contents | this is the second page of the feedback |
|
44 |
| Contents | this is the second page of the feedback |
|
| 45 |
And I select "Add a page break" from the "typ" singleselect
|
45 |
And I add a page break to the feedback
|
| 46 |
And I add a "Multiple choice" question to the feedback with:
|
46 |
And I add a "Multiple choice" question to the feedback with:
|
| 47 |
| Question | this is a multiple choice 3 |
|
47 |
| Question | this is a multiple choice 3 |
|
| 48 |
| Label | multichoice3 |
|
48 |
| Label | multichoice3 |
|
| 49 |
| Multiple choice type | Multiple choice - single answer |
|
49 |
| Multiple choice type | Multiple choice - single answer |
|
| Línea 148... |
Línea 148... |
| 148 |
And I should not see "%" in the "option g" "table_row"
|
148 |
And I should not see "%" in the "option g" "table_row"
|
| 149 |
And I should not see "%" in the "option h" "table_row"
|
149 |
And I should not see "%" in the "option h" "table_row"
|
| 150 |
And I should see "1 (100.00 %)" in the "option i" "table_row"
|
150 |
And I should see "1 (100.00 %)" in the "option i" "table_row"
|
| 151 |
# Change the settings so we don't analyse empty submits
|
151 |
# Change the settings so we don't analyse empty submits
|
| 152 |
And I am on the "Learning experience" "feedback activity" page
|
152 |
And I am on the "Learning experience" "feedback activity" page
|
| 153 |
And I click on "Edit questions" "link" in the "[role=main]" "css_element"
|
153 |
And I navigate to "Questions" in current page administration
|
| 154 |
And I open the action menu in "//div[contains(@class, 'feedback_itemlist') and contains(.,'multichoice1')]" "xpath_element"
|
154 |
And I click on "Edit" "link" in the "this is a multiple choice 1" "mod_feedback > Question"
|
| 155 |
And I choose "Edit question" in the open action menu
|
155 |
And I choose "Edit question" in the open action menu
|
| 156 |
And I set the field "Omit empty submits in analysis" to "Yes"
|
156 |
And I set the field "Omit empty submits in analysis" to "Yes"
|
| 157 |
And I press "Save changes to question"
|
157 |
And I press "Save changes to question"
|
| 158 |
And I am on the "Learning experience" "feedback activity" page
|
158 |
And I am on the "Learning experience" "feedback activity" page
|
| 159 |
And I navigate to "Analysis" in current page administration
|
159 |
And I navigate to "Analysis" in current page administration
|
| 160 |
And I show chart data for the "multichoice1" feedback
|
160 |
And I show chart data for the "multichoice1" feedback
|
| 161 |
And I should see "1 (100.00 %)" in the "option a" "table_row"
|
161 |
And I should see "1 (100.00 %)" in the "option a" "table_row"
|
| 162 |
And I should not see "%" in the "option b" "table_row"
|
162 |
And I should not see "%" in the "option b" "table_row"
|
| 163 |
And I should not see "%" in the "option c" "table_row"
|
163 |
And I should not see "%" in the "option c" "table_row"
|
| 164 |
And I log out
|
- |
|
| Línea 165... |
Línea 164... |
| 165 |
|
164 |
|
| 166 |
@javascript
|
165 |
@javascript
|
| 167 |
Scenario: Non-rated multiple-answers multiple choice questions in feedback
|
166 |
Scenario: Non-rated multiple-answers multiple choice questions in feedback
|
| 168 |
# Create a feedback with three pages, required and dependent questions.
|
167 |
# Create a feedback with three pages, required and dependent questions.
|
| Línea 171... |
Línea 170... |
| 171 |
| Label | multichoice1 |
|
170 |
| Label | multichoice1 |
|
| 172 |
| Multiple choice type | Multiple choice - multiple answers |
|
171 |
| Multiple choice type | Multiple choice - multiple answers |
|
| 173 |
| Multiple choice values | option a\noption b\noption c |
|
172 |
| Multiple choice values | option a\noption b\noption c |
|
| 174 |
And I add a "Text and media area" question to the feedback with:
|
173 |
And I add a "Text and media area" question to the feedback with:
|
| 175 |
| Contents | this is the first page of the feedback |
|
174 |
| Contents | this is the first page of the feedback |
|
| 176 |
And I select "Add a page break" from the "typ" singleselect
|
175 |
And I add a page break to the feedback
|
| 177 |
And I add a "Multiple choice" question to the feedback with:
|
176 |
And I add a "Multiple choice" question to the feedback with:
|
| 178 |
| Question | this is a multiple choice 2 |
|
177 |
| Question | this is a multiple choice 2 |
|
| 179 |
| Label | multichoice2 |
|
178 |
| Label | multichoice2 |
|
| 180 |
| Multiple choice type | Multiple choice - multiple answers |
|
179 |
| Multiple choice type | Multiple choice - multiple answers |
|
| 181 |
| Multiple choice values | option d\noption e\noption f |
|
180 |
| Multiple choice values | option d\noption e\noption f |
|
| 182 |
| Required | 1 |
|
181 |
| Required | 1 |
|
| 183 |
And I add a "Text and media area" question to the feedback with:
|
182 |
And I add a "Text and media area" question to the feedback with:
|
| 184 |
| Contents | this is the second page of the feedback |
|
183 |
| Contents | this is the second page of the feedback |
|
| 185 |
And I select "Add a page break" from the "typ" singleselect
|
184 |
And I add a page break to the feedback
|
| 186 |
And I add a "Multiple choice" question to the feedback with:
|
185 |
And I add a "Multiple choice" question to the feedback with:
|
| 187 |
| Question | this is a multiple choice 3 |
|
186 |
| Question | this is a multiple choice 3 |
|
| 188 |
| Label | multichoice3 |
|
187 |
| Label | multichoice3 |
|
| 189 |
| Multiple choice type | Multiple choice - multiple answers |
|
188 |
| Multiple choice type | Multiple choice - multiple answers |
|
| 190 |
| Multiple choice values | option g\noption h\noption i |
|
189 |
| Multiple choice values | option g\noption h\noption i |
|
| Línea 288... |
Línea 287... |
| 288 |
And I should not see "%" in the "option g" "table_row"
|
287 |
And I should not see "%" in the "option g" "table_row"
|
| 289 |
And I should not see "%" in the "option h" "table_row"
|
288 |
And I should not see "%" in the "option h" "table_row"
|
| 290 |
And I should see "1 (100.00 %)" in the "option i" "table_row"
|
289 |
And I should see "1 (100.00 %)" in the "option i" "table_row"
|
| 291 |
# Change the settings so we don't analyse empty submits
|
290 |
# Change the settings so we don't analyse empty submits
|
| 292 |
And I am on the "Learning experience" "feedback activity" page
|
291 |
And I am on the "Learning experience" "feedback activity" page
|
| 293 |
And I click on "Edit questions" "link" in the "[role=main]" "css_element"
|
292 |
And I navigate to "Questions" in current page administration
|
| 294 |
And I open the action menu in "//div[contains(@class, 'feedback_itemlist') and contains(.,'multichoice1')]" "xpath_element"
|
293 |
And I click on "Edit" "link" in the "this is a multiple choice 1" "mod_feedback > Question"
|
| 295 |
And I choose "Edit question" in the open action menu
|
294 |
And I choose "Edit question" in the open action menu
|
| 296 |
And I set the field "Omit empty submits in analysis" to "Yes"
|
295 |
And I set the field "Omit empty submits in analysis" to "Yes"
|
| 297 |
And I press "Save changes to question"
|
296 |
And I press "Save changes to question"
|
| 298 |
And I am on the "Learning experience" "feedback activity" page
|
297 |
And I am on the "Learning experience" "feedback activity" page
|
| 299 |
And I navigate to "Analysis" in current page administration
|
298 |
And I navigate to "Analysis" in current page administration
|
| 300 |
And I show chart data for the "multichoice1" feedback
|
299 |
And I show chart data for the "multichoice1" feedback
|
| 301 |
And I should see "1 (100.00 %)" in the "option a" "table_row"
|
300 |
And I should see "1 (100.00 %)" in the "option a" "table_row"
|
| 302 |
And I should see "1 (100.00 %)" in the "option b" "table_row"
|
301 |
And I should see "1 (100.00 %)" in the "option b" "table_row"
|
| 303 |
And I should not see "%" in the "option c" "table_row"
|
302 |
And I should not see "%" in the "option c" "table_row"
|
| 304 |
And I log out
|
- |
|
| Línea 305... |
Línea 303... |
| 305 |
|
303 |
|
| 306 |
@javascript
|
304 |
@javascript
|
| 307 |
Scenario: Non-rated single-answer dropdown multiple choice questions in feedback
|
305 |
Scenario: Non-rated single-answer dropdown multiple choice questions in feedback
|
| 308 |
When I add a "Multiple choice" question to the feedback with:
|
306 |
When I add a "Multiple choice" question to the feedback with:
|
| 309 |
| Question | this is a multiple choice 1 |
|
307 |
| Question | this is a multiple choice 1 |
|
| 310 |
| Label | multichoice1 |
|
308 |
| Label | multichoice1 |
|
| 311 |
| Multiple choice type | Multiple choice - single answer allowed (drop-down menu) |
|
309 |
| Multiple choice type | Multiple choice - single answer allowed (drop-down menu) |
|
| 312 |
| Multiple choice values | option a\noption b\noption c |
|
310 |
| Multiple choice values | option a\noption b\noption c |
|
| 313 |
And I add a "Text and media area" question to the feedback with:
|
311 |
And I add a "Text and media area" question to the feedback with:
|
| 314 |
| Contents | this is the first page of the feedback |
|
312 |
| Contents | this is the first page of the feedback |
|
| 315 |
And I select "Add a page break" from the "typ" singleselect
|
313 |
And I add a page break to the feedback
|
| 316 |
And I add a "Multiple choice" question to the feedback with:
|
314 |
And I add a "Multiple choice" question to the feedback with:
|
| 317 |
| Question | this is a multiple choice 2 |
|
315 |
| Question | this is a multiple choice 2 |
|
| 318 |
| Label | multichoice2 |
|
316 |
| Label | multichoice2 |
|
| 319 |
| Multiple choice type | Multiple choice - single answer allowed (drop-down menu) |
|
317 |
| Multiple choice type | Multiple choice - single answer allowed (drop-down menu) |
|
| 320 |
| Multiple choice values | option d\noption e\noption f |
|
318 |
| Multiple choice values | option d\noption e\noption f |
|
| 321 |
| Required | 1 |
|
319 |
| Required | 1 |
|
| 322 |
And I add a "Text and media area" question to the feedback with:
|
320 |
And I add a "Text and media area" question to the feedback with:
|
| 323 |
| Contents | this is the second page of the feedback |
|
321 |
| Contents | this is the second page of the feedback |
|
| 324 |
And I select "Add a page break" from the "typ" singleselect
|
322 |
And I add a page break to the feedback
|
| 325 |
And I add a "Multiple choice" question to the feedback with:
|
323 |
And I add a "Multiple choice" question to the feedback with:
|
| 326 |
| Question | this is a multiple choice 3 |
|
324 |
| Question | this is a multiple choice 3 |
|
| 327 |
| Label | multichoice3 |
|
325 |
| Label | multichoice3 |
|
| 328 |
| Multiple choice type | Multiple choice - single answer allowed (drop-down menu) |
|
326 |
| Multiple choice type | Multiple choice - single answer allowed (drop-down menu) |
|
| Línea 407... |
Línea 405... |
| 407 |
And I should not see "%" in the "option g" "table_row"
|
405 |
And I should not see "%" in the "option g" "table_row"
|
| 408 |
And I should not see "%" in the "option h" "table_row"
|
406 |
And I should not see "%" in the "option h" "table_row"
|
| 409 |
And I should see "1 (100.00 %)" in the "option i" "table_row"
|
407 |
And I should see "1 (100.00 %)" in the "option i" "table_row"
|
| 410 |
# Change the settings so we don't analyse empty submits
|
408 |
# Change the settings so we don't analyse empty submits
|
| 411 |
And I am on the "Learning experience" "feedback activity" page
|
409 |
And I am on the "Learning experience" "feedback activity" page
|
| 412 |
And I click on "Edit questions" "link" in the "[role=main]" "css_element"
|
410 |
And I navigate to "Questions" in current page administration
|
| 413 |
And I open the action menu in "//div[contains(@class, 'feedback_itemlist') and contains(.,'multichoice1')]" "xpath_element"
|
411 |
And I click on "Edit" "link" in the "this is a multiple choice 1" "mod_feedback > Question"
|
| 414 |
And I choose "Edit question" in the open action menu
|
412 |
And I choose "Edit question" in the open action menu
|
| 415 |
And I set the field "Omit empty submits in analysis" to "Yes"
|
413 |
And I set the field "Omit empty submits in analysis" to "Yes"
|
| 416 |
And I press "Save changes to question"
|
414 |
And I press "Save changes to question"
|
| 417 |
And I am on the "Learning experience" "feedback activity" page
|
415 |
And I am on the "Learning experience" "feedback activity" page
|
| 418 |
And I navigate to "Analysis" in current page administration
|
416 |
And I navigate to "Analysis" in current page administration
|