Línea 12... |
Línea 12... |
12 |
| fullname | shortname | category |
|
12 |
| fullname | shortname | category |
|
13 |
| Course 1 | C1 | 0 |
|
13 |
| Course 1 | C1 | 0 |
|
14 |
And the following "course enrolments" exist:
|
14 |
And the following "course enrolments" exist:
|
15 |
| user | course | role |
|
15 |
| user | course | role |
|
16 |
| student | C1 | student |
|
16 |
| student | C1 | student |
|
- |
|
17 |
And the following "activities" exist:
|
- |
|
18 |
| activity | name | intro | course | idnumber | grade | navmethod |
|
- |
|
19 |
| quiz | Quiz 1 | Quiz 1 description | C1 | quiz1 | 100 | free |
|
- |
|
20 |
| quiz | Quiz 2 | Quiz 2 description | C1 | quiz2 | 6 | free |
|
- |
|
21 |
| quiz | Quiz 3 | Quiz 3 description | C1 | quiz3 | 100 | free |
|
- |
|
22 |
| quiz | Quiz 4 | Quiz 4 description | C1 | quiz4 | 100 | sequential |
|
- |
|
23 |
| qbank | Qbank 1 | Question bank 1 | C1 | qbank1 | | |
|
17 |
And the following "question categories" exist:
|
24 |
And the following "question categories" exist:
|
18 |
| contextlevel | reference | name |
|
25 |
| contextlevel | reference | name |
|
19 |
| Course | C1 | Test questions |
|
26 |
| Activity module | quiz1 | Test questions |
|
20 |
And the following "questions" exist:
|
27 |
And the following "questions" exist:
|
21 |
| questioncategory | qtype | name | questiontext |
|
28 |
| questioncategory | qtype | name | questiontext |
|
22 |
| Test questions | truefalse | TF1 | First question |
|
29 |
| Test questions | truefalse | TF1 | First question |
|
23 |
| Test questions | truefalse | TF2 | Second question |
|
30 |
| Test questions | truefalse | TF2 | Second question |
|
24 |
| Test questions | truefalse | TF3 | Third question |
|
31 |
| Test questions | truefalse | TF3 | Third question |
|
25 |
| Test questions | truefalse | TF4 | Fourth question |
|
32 |
| Test questions | truefalse | TF4 | Fourth question |
|
26 |
| Test questions | truefalse | TF5 | Fifth question |
|
33 |
| Test questions | truefalse | TF5 | Fifth question |
|
27 |
| Test questions | truefalse | TF6 | Sixth question |
|
34 |
| Test questions | truefalse | TF6 | Sixth question |
|
28 |
And the following "activities" exist:
|
- |
|
29 |
| activity | name | intro | course | idnumber | grade | navmethod |
|
- |
|
30 |
| quiz | Quiz 1 | Quiz 1 description | C1 | quiz1 | 100 | free |
|
- |
|
31 |
| quiz | Quiz 2 | Quiz 2 description | C1 | quiz2 | 6 | free |
|
- |
|
32 |
| quiz | Quiz 3 | Quiz 3 description | C1 | quiz3 | 100 | free |
|
- |
|
33 |
| quiz | Quiz 4 | Quiz 4 description | C1 | quiz4 | 100 | sequential |
|
- |
|
34 |
And quiz "Quiz 1" contains the following questions:
|
35 |
And quiz "Quiz 1" contains the following questions:
|
35 |
| question | page | maxmark |
|
36 |
| question | page | maxmark |
|
36 |
| TF1 | 1 | |
|
37 |
| TF1 | 1 | |
|
37 |
| TF2 | 1 | 3.0 |
|
38 |
| TF2 | 1 | 3.0 |
|
38 |
And quiz "Quiz 2" contains the following questions:
|
39 |
And quiz "Quiz 2" contains the following questions:
|
Línea 72... |
Línea 73... |
72 |
And I should see "Duration"
|
73 |
And I should see "Duration"
|
73 |
And I should see "Marks"
|
74 |
And I should see "Marks"
|
74 |
And I should see "Grade"
|
75 |
And I should see "Grade"
|
75 |
And I should see "25.00 out of 100.00"
|
76 |
And I should see "25.00 out of 100.00"
|
76 |
And I follow "Finish review"
|
77 |
And I follow "Finish review"
|
- |
|
78 |
And I should see "Highest grade: 25.00 / 100.00"
|
77 |
And I press "Re-attempt quiz"
|
79 |
And I press "Re-attempt quiz"
|
Línea 78... |
Línea 80... |
78 |
|
80 |
|
79 |
@javascript
|
81 |
@javascript
|
80 |
Scenario: Attempt a quiz with multiple sections
|
82 |
Scenario: Attempt a quiz with multiple sections
|