Línea 14... |
Línea 14... |
14 |
| Course 1 | C1 | 0 |
|
14 |
| Course 1 | C1 | 0 |
|
15 |
And the following "course enrolments" exist:
|
15 |
And the following "course enrolments" exist:
|
16 |
| user | course | role |
|
16 |
| user | course | role |
|
17 |
| teacher1 | C1 | editingteacher |
|
17 |
| teacher1 | C1 | editingteacher |
|
18 |
| student1 | C1 | student |
|
18 |
| student1 | C1 | student |
|
- |
|
19 |
And the following "activities" exist:
|
- |
|
20 |
| activity | name | course | idnumber |
|
- |
|
21 |
| quiz | Quiz 1 | C1 | quiz1 |
|
19 |
And the following "question categories" exist:
|
22 |
And the following "question categories" exist:
|
20 |
| contextlevel | reference | name |
|
23 |
| contextlevel | reference | name |
|
21 |
| Course | C1 | Test questions |
|
24 |
| Activity module | quiz1 | Test questions |
|
22 |
And the following "questions" exist:
|
25 |
And the following "questions" exist:
|
23 |
| questioncategory | qtype | name | questiontext | generalfeedback |
|
26 |
| questioncategory | qtype | name | questiontext | generalfeedback |
|
24 |
| Test questions | shortanswer | Kermit | What kind of animal is Kermit? | |
|
27 |
| Test questions | shortanswer | Kermit | What kind of animal is Kermit? | |
|
25 |
And the following "activities" exist:
|
- |
|
26 |
| activity | name | course | idnumber |
|
- |
|
27 |
| quiz | Quiz 1 | C1 | quiz1 |
|
- |
|
28 |
And quiz "Quiz 1" contains the following questions:
|
28 |
And quiz "Quiz 1" contains the following questions:
|
29 |
| question | page |
|
29 |
| question | page |
|
30 |
| Kermit | 1 |
|
30 |
| Kermit | 1 |
|
31 |
And I am on the "Quiz 1" "mod_quiz > View" page logged in as "student1"
|
31 |
And I am on the "Quiz 1" "mod_quiz > View" page logged in as "student1"
|
32 |
And I press "Attempt quiz"
|
32 |
And I press "Attempt quiz"
|