Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 34... Línea 34...
34
    And the following "mod_assign > submissions" exist:
34
    And the following "mod_assign > submissions" exist:
35
      | assign                | user      | onlinetext                        |
35
      | assign                | user      | onlinetext                        |
36
      | Test assignment name  | student1  | I'm the student first submission  |
36
      | Test assignment name  | student1  | I'm the student first submission  |
37
    # Mark the submission.
37
    # Mark the submission.
38
    And I am on the "Test assignment name" "assign activity" page logged in as teacher1
38
    And I am on the "Test assignment name" "assign activity" page logged in as teacher1
39
    And I follow "View all submissions"
39
    And I navigate to "Submissions" in current page administration
40
    And I should see "Not marked" in the "Student 1" "table_row"
40
    And I should see "Not marked" in the "Student 1" "table_row"
41
    And I click on "Grade" "link" in the "Student 1" "table_row"
41
    And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
-
 
42
    And I choose "Grade" in the open action menu
42
    And I should see "1 of 2"
43
    And I should see "1 of 2"
43
    And I click on "Change filters" "link"
44
    And I click on "Change filters" "link"
44
    And I set the field "Filter" to "submitted"
45
    And I set the field "Filter" to "submitted"
45
    And I should see "1 of 1"
46
    And I should see "1 of 1"
46
    And I set the field "Grade out of 100" to "50"
47
    And I set the field "Grade out of 100" to "50"
47
    And I set the field "Marking workflow state" to "In review"
48
    And I set the field "Marking workflow state" to "In review"
48
    And I set the field "Feedback comments" to "Great job! Lol, not really."
49
    And I set the field "Feedback comments" to "Great job! Lol, not really."
49
    And I set the field "Notify student" to "0"
50
    And I set the field "Notify student" to "0"
50
    And I press "Save changes"
51
    And I press "Save changes"
51
    And I am on the "Test assignment name" "assign activity" page
52
    And I am on the "Test assignment name" "assign activity" page
52
    And I follow "View all submissions"
53
    And I navigate to "Submissions" in current page administration
53
    And I should see "In review" in the "Student 1" "table_row"
54
    And I should see "In review" in the "Student 1" "table_row"
54
    And I log out
55
    And I log out
55
    # View the grading status as a student.
56
    # View the grading status as a student.
56
    And I am on the "Test assignment name" "assign activity" page logged in as student1
57
    And I am on the "Test assignment name" "assign activity" page logged in as student1
57
    And I should see "In review" in the "Grading status" "table_row"
58
    And I should see "In review" in the "Grading status" "table_row"
58
    And I should not see "Great job! Lol, not really."
59
    And I should not see "Great job! Lol, not really."
59
    And I log out
60
    And I log out
60
    # Mark the submission again but set the marking workflow to 'Released'.
61
    # Mark the submission again but set the marking workflow to 'Released'.
61
    And I am on the "Test assignment name" "assign activity" page logged in as teacher1
62
    And I am on the "Test assignment name" "assign activity" page logged in as teacher1
62
    And I follow "View all submissions"
63
    And I navigate to "Submissions" in current page administration
63
    And I should see "In review" in the "Student 1" "table_row"
64
    And I should see "In review" in the "Student 1" "table_row"
-
 
65
    And I change window size to "large"
64
    And I click on "Grade" "link" in the "Student 1" "table_row"
66
    And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
-
 
67
    And I choose "Grade" in the open action menu
-
 
68
    And I change window size to "medium"
65
    And I should see "1 of 1"
69
    And I should see "1 of 1"
66
    And I set the field "Marking workflow state" to "Released"
70
    And I set the field "Marking workflow state" to "Released"
67
    And I press "Save changes"
71
    And I press "Save changes"
68
    And I follow "View all submissions"
72
    And I follow "View all submissions"
69
    And I should see "Released" in the "Student 1" "table_row"
73
    And I should see "Released" in the "Student 1" "table_row"
Línea 73... Línea 77...
73
    And I should see "Released" in the "Grading status" "table_row"
77
    And I should see "Released" in the "Grading status" "table_row"
74
    And I should see "Great job! Lol, not really."
78
    And I should see "Great job! Lol, not really."
75
    And I log out
79
    And I log out
76
    # Now, change the status from 'Released' to 'In marking' (this will remove the grade from the gradebook).
80
    # Now, change the status from 'Released' to 'In marking' (this will remove the grade from the gradebook).
77
    And I am on the "Test assignment name" "assign activity" page logged in as teacher1
81
    And I am on the "Test assignment name" "assign activity" page logged in as teacher1
78
    And I follow "View all submissions"
82
    And I navigate to "Submissions" in current page administration
79
    And I should see "Released" in the "Student 1" "table_row"
83
    And I should see "Released" in the "Student 1" "table_row"
-
 
84
    And I change window size to "large"
80
    And I click on "Grade" "link" in the "Student 1" "table_row"
85
    And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
-
 
86
    And I choose "Grade" in the open action menu
-
 
87
    And I change window size to "medium"
81
    And I should see "1 of 1"
88
    And I should see "1 of 1"
82
    And I set the field "Marking workflow state" to "In marking"
89
    And I set the field "Marking workflow state" to "In marking"
83
    And I set the field "Notify student" to "0"
90
    And I set the field "Notify student" to "0"
84
    And I press "Save changes"
91
    And I press "Save changes"
85
    And I am on the "Test assignment name" "assign activity" page
92
    And I am on the "Test assignment name" "assign activity" page
86
    And I follow "View all submissions"
93
    And I navigate to "Submissions" in current page administration
87
    And I should see "In marking" in the "Student 1" "table_row"
94
    And I should see "In marking" in the "Student 1" "table_row"
88
    # The grade should also remain displayed as it's stored in the assign DB tables, but the final grade should be empty.
95
    # The grade should also remain displayed as it's stored in the assign DB tables, but the final grade should be empty.
89
    And "Student 1" row "Grade" column of "generaltable" table should contain "50.00"
96
    And "Student 1" row "Grade" column of "generaltable" table should contain "50.00"
90
    And "Student 1" row "Final grade" column of "generaltable" table should contain "-"
97
    And "Student 1" row "Final grade" column of "generaltable" table should contain "-"
-
 
98
    And I change window size to "large"
91
    And I click on "Grade" "link" in the "Student 1" "table_row"
99
    And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
-
 
100
    And I choose "Grade" in the open action menu
-
 
101
    And I change window size to "medium"
92
    And I click on "Change filters" "link"
102
    And I click on "Change filters" "link"
93
    And I set the field "Workflow filter" to "In review"
103
    And I set the field "Workflow filter" to "In review"
94
    And I should see "0 of 0"
104
    And I should see "0 of 0"
Línea 95... Línea 105...
95
 
105
 
Línea 108... Línea 118...
108
    And the following "mod_assign > submissions" exist:
118
    And the following "mod_assign > submissions" exist:
109
      | assign                | user      | onlinetext                        |
119
      | assign                | user      | onlinetext                        |
110
      | Test assignment name  | student1  | I'm the student first submission  |
120
      | Test assignment name  | student1  | I'm the student first submission  |
111
    # Mark the submission.
121
    # Mark the submission.
112
    And I am on the "Test assignment name" "assign activity" page logged in as teacher1
122
    And I am on the "Test assignment name" "assign activity" page logged in as teacher1
113
    And I follow "View all submissions"
123
    And I navigate to "Submissions" in current page administration
114
    And I should not see "Graded" in the "Student 1" "table_row"
124
    And I should not see "Graded" in the "Student 1" "table_row"
115
    And I click on "Grade" "link" in the "Student 1" "table_row"
125
    And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
-
 
126
    And I choose "Grade" in the open action menu
116
    And I should see "1 of 2"
127
    And I should see "1 of 2"
117
    And I click on "Change filters" "link"
128
    And I click on "Change filters" "link"
118
    And I set the field "Filter" to "submitted"
129
    And I set the field "Filter" to "submitted"
119
    And I should see "1 of 1"
130
    And I should see "1 of 1"
120
    And I set the field "Grade out of 100" to "50"
131
    And I set the field "Grade out of 100" to "50"
121
    And I set the field "Feedback comments" to "Great job! Lol, not really."
132
    And I set the field "Feedback comments" to "Great job! Lol, not really."
122
    And I press "Save changes"
133
    And I press "Save changes"
123
    And I click on "Edit settings" "link"
134
    And I click on "Edit settings" "link"
124
    And I am on the "Test assignment name" "assign activity" page
135
    And I am on the "Test assignment name" "assign activity" page
125
    And I follow "View all submissions"
136
    And I navigate to "Submissions" in current page administration
126
    And I should see "Graded" in the "Student 1" "table_row"
137
    And I should see "Graded" in the "Student 1" "table_row"
127
    And I log out
138
    And I log out
128
    # View the grading status as a student.
139
    # View the grading status as a student.
129
    And I am on the "Test assignment name" "assign activity" page logged in as student1
140
    And I am on the "Test assignment name" "assign activity" page logged in as student1
130
    And I should see "Graded" in the "Grading status" "table_row"
141
    And I should see "Graded" in the "Grading status" "table_row"
Línea 137... Línea 148...
137
      | Online text | I'm the student's second submission |
148
      | Online text | I'm the student's second submission |
138
    And I press "Save changes"
149
    And I press "Save changes"
139
    And I log out
150
    And I log out
140
    # Teacher marks the submission again after noticing the 'Graded - resubmitted'.
151
    # Teacher marks the submission again after noticing the 'Graded - resubmitted'.
141
    And I am on the "Test assignment name" "assign activity" page logged in as teacher1
152
    And I am on the "Test assignment name" "assign activity" page logged in as teacher1
142
    And I follow "View all submissions"
153
    And I navigate to "Submissions" in current page administration
143
    And I should see "Graded - resubmitted" in the "Student 1" "table_row"
154
    And I should see "Graded - resubmitted" in the "Student 1" "table_row"
144
    And I wait "10" seconds
155
    And I wait "10" seconds
-
 
156
    And I change window size to "large"
145
    And I click on "Grade" "link" in the "Student 1" "table_row"
157
    And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
-
 
158
    And I choose "Grade" in the open action menu
-
 
159
    And I change window size to "medium"
146
    And I should see "1 of 1"
160
    And I should see "1 of 1"
147
    And I set the field "Grade out of 100" to "99.99"
161
    And I set the field "Grade out of 100" to "99.99"
148
    And I set the field "Feedback comments" to "Even better job! Really."
162
    And I set the field "Feedback comments" to "Even better job! Really."
149
    And I press "Save changes"
163
    And I press "Save changes"
150
    And I click on "Edit settings" "link"
164
    And I click on "Edit settings" "link"
151
    And I am on the "Test assignment name" "assign activity" page
165
    And I am on the "Test assignment name" "assign activity" page
152
    And I follow "View all submissions"
166
    And I navigate to "Submissions" in current page administration
153
    And I should see "Graded" in the "Student 1" "table_row"
167
    And I should see "Graded" in the "Student 1" "table_row"
154
    And I log out
168
    And I log out
155
    # View the grading status as a student again.
169
    # View the grading status as a student again.
156
    And I am on the "Test assignment name" "assign activity" page logged in as student1
170
    And I am on the "Test assignment name" "assign activity" page logged in as student1
157
    And I should see "Graded" in the "Grading status" "table_row"
171
    And I should see "Graded" in the "Grading status" "table_row"