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 |
| teacher | C1 | editingteacher |
|
16 |
| teacher | C1 | editingteacher |
|
17 |
And the following "question categories" exist:
|
- |
|
18 |
| contextlevel | reference | name |
|
- |
|
19 |
| Course | C1 | Test questions |
|
- |
|
20 |
And the following "activities" exist:
|
17 |
And the following "activities" exist:
|
21 |
| activity | name | intro | course | idnumber |
|
18 |
| activity | name | intro | course | idnumber |
|
22 |
| quiz | Quiz 1 | Quiz 1 description | C1 | quiz1 |
|
19 |
| quiz | Quiz 1 | Quiz 1 description | C1 | quiz1 |
|
- |
|
20 |
And the following "question categories" exist:
|
- |
|
21 |
| contextlevel | reference | name |
|
- |
|
22 |
| Activity module | quiz1 | Test questions |
|
23 |
And the following "questions" exist:
|
23 |
And the following "questions" exist:
|
24 |
| questioncategory | qtype | name | questiontext |
|
24 |
| questioncategory | qtype | name | questiontext |
|
25 |
| Test questions | truefalse | TF1 | First question |
|
25 |
| Test questions | truefalse | TF1 | First question |
|
26 |
| Test questions | truefalse | TF2 | Second question |
|
26 |
| Test questions | truefalse | TF2 | Second question |
|
27 |
And quiz "Quiz 1" contains the following questions:
|
27 |
And quiz "Quiz 1" contains the following questions:
|
Línea 35... |
Línea 35... |
35 |
|
35 |
|
36 |
@javascript
|
36 |
@javascript
|
37 |
Scenario: Review the quiz attempt
|
37 |
Scenario: Review the quiz attempt
|
38 |
When I am on the "Quiz 1" "mod_quiz > View" page logged in as "teacher"
|
38 |
When I am on the "Quiz 1" "mod_quiz > View" page logged in as "teacher"
|
- |
|
39 |
And I follow "Review"
|
39 |
And I follow "Review"
|
40 |
And "Attempt 1 summary" "table" should exist
|
40 |
Then I should see "25.00 out of 100.00"
|
41 |
Then I should see "25.00 out of 100.00"
|
41 |
And I should see "v1 (latest)" in the "Question 1" "question"
|
42 |
And I should see "v1 (latest)" in the "Question 1" "question"
|
42 |
And I follow "Finish review"
|
43 |
And I follow "Finish review"
|
- |
|
44 |
And "Review" "link" in the "Attempt 1" "list_item" should be visible
|
Línea 43... |
Línea 45... |
43 |
And "Review" "link" in the "Attempt 1" "list_item" should be visible
|
45 |
And "Attempt 1 summary" "table" should exist
|
44 |
|
46 |
|
45 |
@javascript
|
47 |
@javascript
|
46 |
Scenario: Review the quiz attempt with custom decimal separator
|
48 |
Scenario: Review the quiz attempt with custom decimal separator
|