Línea 36... |
Línea 36... |
36 |
| assign | user | onlinetext |
|
36 |
| assign | user | onlinetext |
|
37 |
| Test assignment name | student1 | I'm student1's submission |
|
37 |
| Test assignment name | student1 | I'm student1's submission |
|
38 |
| Test assignment name | student2 | I'm student2's submission |
|
38 |
| Test assignment name | student2 | I'm student2's submission |
|
39 |
# Mark the submissions.
|
39 |
# Mark the submissions.
|
40 |
And I am on the "Test assignment name" "assign activity" page logged in as "teacher1"
|
40 |
And I am on the "Test assignment name" "assign activity" page logged in as "teacher1"
|
41 |
And I follow "View all submissions"
|
41 |
And I navigate to "Submissions" in current page administration
|
42 |
Then I should see "Not marked" in the "I'm student1's submission" "table_row"
|
42 |
Then I should see "Not marked" in the "I'm student1's submission" "table_row"
|
43 |
And I click on "Grade" "link" in the "I'm student1's submission" "table_row"
|
43 |
And I click on "Grade actions" "actionmenu" in the "I'm student1's submission" "table_row"
|
- |
|
44 |
And I choose "Grade" in the open action menu
|
44 |
And I set the field "Grade out of 100" to "50"
|
45 |
And I set the field "Grade out of 100" to "50"
|
45 |
And I set the field "Marking workflow state" to "In review"
|
46 |
And I set the field "Marking workflow state" to "In review"
|
46 |
And I set the field "Feedback comments" to "Great job!"
|
47 |
And I set the field "Feedback comments" to "Great job!"
|
47 |
And I set the field "Notify student" to "0"
|
48 |
And I set the field "Notify student" to "0"
|
48 |
And I press "Save changes"
|
49 |
And I press "Save changes"
|
49 |
And I am on the "Test assignment name" "assign activity" page
|
50 |
And I am on the "Test assignment name" "assign activity" page
|
50 |
And I follow "View all submissions"
|
51 |
And I navigate to "Submissions" in current page administration
|
51 |
Then I should see "Not marked" in the "I'm student2's submission" "table_row"
|
52 |
Then I should see "Not marked" in the "I'm student2's submission" "table_row"
|
- |
|
53 |
And I change window size to "large"
|
52 |
And I click on "Grade" "link" in the "I'm student2's submission" "table_row"
|
54 |
And I click on "Grade actions" "actionmenu" in the "I'm student2's submission" "table_row"
|
- |
|
55 |
And I choose "Grade" in the open action menu
|
- |
|
56 |
And I change window size to "medium"
|
53 |
And I set the field "Grade out of 100" to "50"
|
57 |
And I set the field "Grade out of 100" to "50"
|
54 |
And I set the field "Marking workflow state" to "In review"
|
58 |
And I set the field "Marking workflow state" to "In review"
|
55 |
And I set the field "Feedback comments" to "Great job!"
|
59 |
And I set the field "Feedback comments" to "Great job!"
|
56 |
And I set the field "Notify student" to "0"
|
60 |
And I set the field "Notify student" to "0"
|
57 |
And I press "Save changes"
|
61 |
And I press "Save changes"
|
58 |
And I am on the "Test assignment name" "assign activity" page
|
62 |
And I am on the "Test assignment name" "assign activity" page
|
59 |
And I follow "View all submissions"
|
63 |
And I navigate to "Submissions" in current page administration
|
60 |
Then I should see "In review" in the "I'm student1's submission" "table_row"
|
64 |
Then I should see "In review" in the "I'm student1's submission" "table_row"
|
61 |
And I should see "In review" in the "I'm student2's submission" "table_row"
|
65 |
And I should see "In review" in the "I'm student2's submission" "table_row"
|
Línea 62... |
Línea 66... |
62 |
|
66 |
|
63 |
@javascript @_alert
|
67 |
@javascript @_alert
|
64 |
Scenario: Grades are released in bulk before student identities are revealed.
|
68 |
Scenario: Grades are released in bulk before student identities are revealed.
|
65 |
When I set the field "selectall" to "1"
|
69 |
When I set the field "selectall" to "1"
|
66 |
And I set the field "operation" to "Set marking workflow state"
|
70 |
And I click on "Change marking state" "button" in the "sticky-footer" "region"
|
67 |
And I click on "Go" "button" confirming the dialogue
|
71 |
And I click on "Change marking state" "button" in the "Set marking workflow state" "dialogue"
|
68 |
Then I should not see "Student 1 (student1@example.com)"
|
72 |
Then I should not see "Student 1 (student1@example.com)"
|
69 |
And I should not see "Student 2 (student2@example.com)"
|
73 |
And I should not see "Student 2 (student2@example.com)"
|
70 |
And I set the field "Marking workflow state" to "Released"
|
74 |
And I set the field "Marking workflow state" to "Released"
|
71 |
And I set the field "Notify student" to "No"
|
75 |
And I set the field "Notify student" to "No"
|
72 |
And I press "Save changes"
|
76 |
And I press "Save changes"
|
73 |
And I am on the "Test assignment name" "assign activity" page
|
77 |
And I am on the "Test assignment name" "assign activity" page
|
74 |
And I follow "View all submissions"
|
78 |
And I navigate to "Submissions" in current page administration
|
75 |
Then I should see "Released" in the "I'm student1's submission" "table_row"
|
79 |
Then I should see "Released" in the "I'm student1's submission" "table_row"
|
76 |
And I should see "Released" in the "I'm student2's submission" "table_row"
|
80 |
And I should see "Released" in the "I'm student2's submission" "table_row"
|
77 |
And I am on the "Course 1" "grades > User report > View" page logged in as "student1"
|
81 |
And I am on the "Course 1" "grades > User report > View" page logged in as "student1"
|
78 |
Then I should not see "50"
|
82 |
Then I should not see "50"
|
79 |
And I should not see "Great job!"
|
83 |
And I should not see "Great job!"
|
80 |
And I am on the "Course 1" "grades > User report > View" page logged in as "student2"
|
84 |
And I am on the "Course 1" "grades > User report > View" page logged in as "student2"
|
81 |
Then I should not see "50"
|
85 |
Then I should not see "50"
|
82 |
And I should not see "Great job!"
|
86 |
And I should not see "Great job!"
|
83 |
And I am on the "Test assignment name" "assign activity" page logged in as "teacher1"
|
87 |
And I am on the "Test assignment name" "assign activity" page logged in as "teacher1"
|
84 |
And I follow "View all submissions"
|
88 |
And I navigate to "Submissions" in current page administration
|
85 |
And I set the field "Grading action" to "Reveal student identities"
|
89 |
And I choose the "Reveal student identities" item in the "Actions" action menu
|
86 |
And I press "Continue"
|
90 |
And I press "Continue"
|
87 |
Then I should see "Released" in the "Student 1" "table_row"
|
91 |
Then I should see "Released" in the "Student 1" "table_row"
|
88 |
And I should see "Released" in the "Student 2" "table_row"
|
92 |
And I should see "Released" in the "Student 2" "table_row"
|
89 |
And I am on the "Course 1" "grades > User report > View" page logged in as "student1"
|
93 |
And I am on the "Course 1" "grades > User report > View" page logged in as "student1"
|
Línea 93... |
Línea 97... |
93 |
Then I should see "50"
|
97 |
Then I should see "50"
|
94 |
And I should see "Great job!"
|
98 |
And I should see "Great job!"
|
Línea 95... |
Línea 99... |
95 |
|
99 |
|
96 |
@javascript @_alert
|
100 |
@javascript @_alert
|
97 |
Scenario: Grades are released in bulk after student identities are revealed.
|
101 |
Scenario: Grades are released in bulk after student identities are revealed.
|
98 |
When I set the field "Grading action" to "Reveal student identities"
|
102 |
When I choose the "Reveal student identities" item in the "Actions" action menu
|
99 |
And I press "Continue"
|
103 |
And I press "Continue"
|
100 |
When I set the field "selectall" to "1"
|
104 |
When I set the field "selectall" to "1"
|
101 |
And I set the field "operation" to "Set marking workflow state"
|
105 |
And I click on "Change marking state" "button" in the "sticky-footer" "region"
|
102 |
And I click on "Go" "button" confirming the dialogue
|
106 |
And I click on "Change marking state" "button" in the "Set marking workflow state" "dialogue"
|
103 |
Then I should see "Student 1 (student1@example.com)"
|
107 |
Then I should see "Student 1 (student1@example.com)"
|
104 |
And I should see "Student 2 (student2@example.com)"
|
108 |
And I should see "Student 2 (student2@example.com)"
|
105 |
And I set the field "Marking workflow state" to "Released"
|
109 |
And I set the field "Marking workflow state" to "Released"
|
106 |
And I set the field "Notify student" to "No"
|
110 |
And I set the field "Notify student" to "No"
|
107 |
And I press "Save changes"
|
111 |
And I press "Save changes"
|
108 |
And I am on the "Test assignment name" "assign activity" page
|
112 |
And I am on the "Test assignment name" "assign activity" page
|
109 |
And I follow "View all submissions"
|
113 |
And I navigate to "Submissions" in current page administration
|
110 |
Then I should see "Released" in the "Student 1" "table_row"
|
114 |
Then I should see "Released" in the "Student 1" "table_row"
|
111 |
And I should see "Released" in the "Student 2" "table_row"
|
115 |
And I should see "Released" in the "Student 2" "table_row"
|
112 |
And I am on the "Course 1" "grades > User report > View" page logged in as "student1"
|
116 |
And I am on the "Course 1" "grades > User report > View" page logged in as "student1"
|
113 |
Then I should see "50"
|
117 |
Then I should see "50"
|
Línea 120... |
Línea 124... |
120 |
Scenario: Grades are released to the gradebook if markinganonymous is enabled
|
124 |
Scenario: Grades are released to the gradebook if markinganonymous is enabled
|
121 |
Given I follow "Settings"
|
125 |
Given I follow "Settings"
|
122 |
And I expand all fieldsets
|
126 |
And I expand all fieldsets
|
123 |
And I set the field "Allow partial release of grades while marking anonymously" to "Yes"
|
127 |
And I set the field "Allow partial release of grades while marking anonymously" to "Yes"
|
124 |
And I press "Save and display"
|
128 |
And I press "Save and display"
|
125 |
And I follow "View all submissions"
|
129 |
And I navigate to "Submissions" in current page administration
|
126 |
When I set the field "selectall" to "1"
|
130 |
When I set the field "selectall" to "1"
|
127 |
And I set the field "operation" to "Set marking workflow state"
|
131 |
And I click on "Change marking state" "button" in the "sticky-footer" "region"
|
128 |
And I click on "Go" "button" confirming the dialogue
|
132 |
And I click on "Change marking state" "button" in the "Set marking workflow state" "dialogue"
|
129 |
Then I should not see "Student 1 (student1@example.com)"
|
133 |
Then I should not see "Student 1 (student1@example.com)"
|
130 |
And I should not see "Student 2 (student2@example.com)"
|
134 |
And I should not see "Student 2 (student2@example.com)"
|
131 |
And I set the field "Marking workflow state" to "Released"
|
135 |
And I set the field "Marking workflow state" to "Released"
|
132 |
And I set the field "Notify student" to "No"
|
136 |
And I set the field "Notify student" to "No"
|
133 |
And I press "Save changes"
|
137 |
And I press "Save changes"
|
134 |
And I am on the "Test assignment name" "assign activity" page
|
138 |
And I am on the "Test assignment name" "assign activity" page
|
135 |
And I follow "View all submissions"
|
139 |
And I navigate to "Submissions" in current page administration
|
136 |
Then I should see "Released" in the "I'm student1's submission" "table_row"
|
140 |
Then I should see "Released" in the "I'm student1's submission" "table_row"
|
137 |
And I should see "Released" in the "I'm student2's submission" "table_row"
|
141 |
And I should see "Released" in the "I'm student2's submission" "table_row"
|
138 |
And I am on the "Course 1" "grades > User report > View" page logged in as "student1"
|
142 |
And I am on the "Course 1" "grades > User report > View" page logged in as "student1"
|
139 |
Then I should see "50"
|
143 |
Then I should see "50"
|
140 |
And I should see "Great job!"
|
144 |
And I should see "Great job!"
|