| Línea 44... |
Línea 44... |
| 44 |
And I am on the "Test lesson name" "lesson activity" page logged in as teacher1
|
44 |
And I am on the "Test lesson name" "lesson activity" page logged in as teacher1
|
| 45 |
And I navigate to "Reports" in current page administration
|
45 |
And I navigate to "Reports" in current page administration
|
| 46 |
And I should see "Sam1 Student1"
|
46 |
And I should see "Sam1 Student1"
|
| 47 |
And I am on the "Course 1" "reset" page
|
47 |
And I am on the "Course 1" "reset" page
|
| 48 |
And I set the following fields to these values:
|
48 |
And I set the following fields to these values:
|
| 49 |
| Delete all lesson attempts | 1 |
|
49 |
| All lesson attempts | 1 |
|
| 50 |
And I press "Reset course"
|
50 |
And I press "Reset course"
|
| 51 |
And I press "Continue"
|
51 |
And I press "Continue"
|
| 52 |
And I am on the "Test lesson name" "lesson activity" page
|
52 |
And I am on the "Test lesson name" "lesson activity" page
|
| 53 |
And I navigate to "Reports" in current page administration
|
53 |
And I navigate to "Reports" in current page administration
|
| 54 |
Then I should see "No attempts have been made on this lesson"
|
54 |
Then I should see "No attempts have been made on this lesson"
|
| Línea 55... |
Línea 55... |
| 55 |
|
55 |
|
| 56 |
@javascript
|
56 |
@javascript
|
| 57 |
Scenario: Use course reset to remove user overrides.
|
57 |
Scenario: Use course reset to remove user overrides
|
| 58 |
When I am on the "Test lesson name" "lesson activity" page logged in as teacher1
|
58 |
When I am on the "Test lesson name" "lesson activity" page logged in as teacher1
|
| 59 |
And I navigate to "Overrides" in current page administration
|
59 |
And I navigate to "Overrides" in current page administration
|
| 60 |
And I follow "Add user override"
|
60 |
And I follow "Add user override"
|
| 61 |
And I set the following fields to these values:
|
61 |
And I set the following fields to these values:
|
| 62 |
| Override user | Student1 |
|
62 |
| Override user | Student1 |
|
| 63 |
| Re-takes allowed | 1 |
|
63 |
| Re-takes allowed | 1 |
|
| 64 |
And I press "Save"
|
64 |
And I press "Save"
|
| 65 |
And I should see "Sam1 Student1"
|
65 |
And I should see "Sam1 Student1"
|
| - |
|
66 |
And I am on the "Course 1" "reset" page
|
| 66 |
And I am on the "Course 1" "reset" page
|
67 |
And I press "Deselect all"
|
| 67 |
And I set the following fields to these values:
|
68 |
And I set the following fields to these values:
|
| 68 |
| Delete all user overrides | 1 |
|
69 |
| All user overrides | 1 |
|
| - |
|
70 |
And I press "Reset course"
|
| 69 |
And I press "Reset course"
|
71 |
And I click on "Reset course" "button" in the "Reset course?" "dialogue"
|
| 70 |
And I press "Continue"
|
72 |
And I press "Continue"
|
| 71 |
And I am on the "Test lesson name" "lesson activity" page
|
73 |
And I am on the "Test lesson name" "lesson activity" page
|
| 72 |
And I navigate to "Overrides" in current page administration
|
74 |
And I navigate to "Overrides" in current page administration
|
| Línea -... |
Línea 75... |
| - |
|
75 |
Then I should not see "Sam1 Student1"
|
| 73 |
Then I should not see "Sam1 Student1"
|
76 |
|
| 74 |
|
77 |
@javascript
|
| 75 |
Scenario: Use course reset to remove group overrides.
|
78 |
Scenario: Use course reset to remove group overrides
|
| 76 |
When I am on the "Test lesson name" "lesson activity" page logged in as teacher1
|
79 |
When I am on the "Test lesson name" "lesson activity" page logged in as teacher1
|
| 77 |
And I navigate to "Overrides" in current page administration
|
80 |
And I navigate to "Overrides" in current page administration
|
| 78 |
And I select "Group overrides" from the "jump" singleselect
|
81 |
And I select "Group overrides" from the "jump" singleselect
|
| 79 |
And I follow "Add group override"
|
82 |
And I follow "Add group override"
|
| 80 |
And I set the following fields to these values:
|
83 |
And I set the following fields to these values:
|
| 81 |
| Override group | Group 1 |
|
84 |
| Override group | Group 1 |
|
| 82 |
| Re-takes allowed | 1 |
|
85 |
| Re-takes allowed | 1 |
|
| 83 |
And I press "Save"
|
86 |
And I press "Save"
|
| - |
|
87 |
And I should see "Group 1"
|
| 84 |
And I should see "Group 1"
|
88 |
And I am on the "Course 1" "reset" page
|
| 85 |
And I am on the "Course 1" "reset" page
|
89 |
And I press "Deselect all"
|
| 86 |
And I set the following fields to these values:
|
90 |
And I set the following fields to these values:
|
| - |
|
91 |
| All group overrides | 1 |
|
| 87 |
| Delete all group overrides | 1 |
|
92 |
And I press "Reset course"
|
| 88 |
And I press "Reset course"
|
93 |
And I click on "Reset course" "button" in the "Reset course?" "dialogue"
|
| 89 |
And I press "Continue"
|
94 |
And I press "Continue"
|
| 90 |
And I am on the "Test lesson name" "lesson activity" page
|
95 |
And I am on the "Test lesson name" "lesson activity" page
|
| 91 |
And I navigate to "Overrides" in current page administration
|
96 |
And I navigate to "Overrides" in current page administration
|