Línea 42... |
Línea 42... |
42 |
And I should see "I'm the student first submission"
|
42 |
And I should see "I'm the student first submission"
|
43 |
And I should see "Not graded"
|
43 |
And I should see "Not graded"
|
44 |
And I log out
|
44 |
And I log out
|
Línea 45... |
Línea 45... |
45 |
|
45 |
|
46 |
And I am on the "Test assignment name" Activity page logged in as teacher1
|
46 |
And I am on the "Test assignment name" Activity page logged in as teacher1
|
47 |
And I follow "View all submissions"
|
47 |
And I navigate to "Submissions" in current page administration
|
48 |
And I should see "Submitted for grading"
|
48 |
And I should see "Submitted for grading"
|
49 |
When I am on the "Course 1" "reset" page
|
49 |
When I am on the "Course 1" "reset" page
|
50 |
And I set the following fields to these values:
|
50 |
And I set the following fields to these values:
|
51 |
| Delete all submissions | 1 |
|
51 |
| All submissions | 1 |
|
52 |
And I press "Reset course"
|
52 |
And I press "Reset course"
|
53 |
And I press "Continue"
|
53 |
And I press "Continue"
|
54 |
And I am on the "Test assignment name" Activity page
|
54 |
And I am on the "Test assignment name" Activity page
|
55 |
And I follow "View all submissions"
|
55 |
And I navigate to "Submissions" in current page administration
|
Línea 56... |
Línea 56... |
56 |
Then I should not see "Submitted for grading"
|
56 |
Then I should not see "Submitted for grading"
|
57 |
|
57 |
|
58 |
@javascript
|
58 |
@javascript
|
59 |
Scenario: Use course reset to remove user overrides.
|
59 |
Scenario: Use course reset to remove user overrides
|
60 |
And I am on the "Test assignment name" Activity page logged in as teacher1
|
60 |
And I am on the "Test assignment name" Activity page logged in as teacher1
|
61 |
And I navigate to "Overrides" in current page administration
|
61 |
And I navigate to "Overrides" in current page administration
|
62 |
And I press "Add user override"
|
62 |
And I press "Add user override"
|
Línea 69... |
Línea 69... |
69 |
| duedate[hour] | 08 |
|
69 |
| duedate[hour] | 08 |
|
70 |
| duedate[minute] | 00 |
|
70 |
| duedate[minute] | 00 |
|
71 |
And I press "Save"
|
71 |
And I press "Save"
|
72 |
And I should see "Sam1 Student1"
|
72 |
And I should see "Sam1 Student1"
|
73 |
When I am on the "Course 1" "reset" page
|
73 |
When I am on the "Course 1" "reset" page
|
- |
|
74 |
And I press "Deselect all"
|
74 |
And I set the following fields to these values:
|
75 |
And I set the following fields to these values:
|
75 |
| Delete all user overrides | 1 |
|
76 |
| All user overrides | 1 |
|
76 |
And I press "Reset course"
|
77 |
And I press "Reset course"
|
- |
|
78 |
And I click on "Reset course" "button" in the "Reset course?" "dialogue"
|
77 |
And I press "Continue"
|
79 |
And I press "Continue"
|
78 |
And I am on "Course 1" course homepage
|
80 |
And I am on "Course 1" course homepage
|
79 |
And I click on "Test assignment name" "link" in the "region-main" "region"
|
81 |
And I click on "Test assignment name" "link" in the "region-main" "region"
|
80 |
And I navigate to "Overrides" in current page administration
|
82 |
And I navigate to "Overrides" in current page administration
|
81 |
Then I should not see "Sam1 Student1"
|
83 |
Then I should not see "Sam1 Student1"
|
Línea 95... |
Línea 97... |
95 |
| duedate[minute] | 00 |
|
97 |
| duedate[minute] | 00 |
|
96 |
And I press "Save"
|
98 |
And I press "Save"
|
97 |
And I should see "Group 1"
|
99 |
And I should see "Group 1"
|
98 |
And I am on the "Course 1" "reset" page
|
100 |
And I am on the "Course 1" "reset" page
|
99 |
And I set the following fields to these values:
|
101 |
And I set the following fields to these values:
|
100 |
| Delete all group overrides | 1 |
|
102 |
| All group overrides | 1 |
|
101 |
And I press "Reset course"
|
103 |
And I press "Reset course"
|
102 |
And I press "Continue"
|
104 |
And I press "Continue"
|
103 |
And I am on the "Test assignment name" Activity page
|
105 |
And I am on the "Test assignment name" Activity page
|
104 |
And I navigate to "Overrides" in current page administration
|
106 |
And I navigate to "Overrides" in current page administration
|
105 |
And I select "Group overrides" from the "jump" singleselect
|
107 |
And I select "Group overrides" from the "jump" singleselect
|
Línea 110... |
Línea 112... |
110 |
And I navigate to "Settings" in current page administration
|
112 |
And I navigate to "Settings" in current page administration
|
111 |
And I set the following fields to these values:
|
113 |
And I set the following fields to these values:
|
112 |
| blindmarking | 1 |
|
114 |
| blindmarking | 1 |
|
113 |
And I press "Save"
|
115 |
And I press "Save"
|
114 |
When I am on the "Test assignment name" Activity page
|
116 |
When I am on the "Test assignment name" Activity page
|
115 |
And I follow "View all submissions"
|
117 |
And I navigate to "Submissions" in current page administration
|
116 |
And I select "Reveal student identities" from the "Grading action" singleselect
|
118 |
And I choose the "Reveal student identities" item in the "Actions" action menu
|
117 |
And I press "Continue"
|
119 |
And I press "Continue"
|
118 |
And I should see "Sam1 Student1"
|
120 |
And I should see "Sam1 Student1"
|
119 |
When I am on the "Course 1" "reset" page
|
121 |
When I am on the "Course 1" "reset" page
|
120 |
And I set the following fields to these values:
|
122 |
And I set the following fields to these values:
|
121 |
| Delete all submissions | 1 |
|
123 |
| All submissions | 1 |
|
122 |
And I press "Reset course"
|
124 |
And I press "Reset course"
|
123 |
And I press "Continue"
|
125 |
And I press "Continue"
|
124 |
And I am on the "Test assignment name" Activity page
|
126 |
And I am on the "Test assignment name" Activity page
|
125 |
And I follow "View all submissions"
|
127 |
And I navigate to "Submissions" in current page administration
|
126 |
Then I should not see "Sam1 Student1"
|
128 |
Then I should not see "Sam1 Student1"
|