Línea 49... |
Línea 49... |
49 |
And I give the grade "80.00" to the user "Student 2" for the grade item "Rewarding assignment"
|
49 |
And I give the grade "80.00" to the user "Student 2" for the grade item "Rewarding assignment"
|
50 |
And I press "Save changes"
|
50 |
And I press "Save changes"
|
51 |
And I navigate to "View > Grade history" in the course gradebook
|
51 |
And I navigate to "View > Grade history" in the course gradebook
|
52 |
When I press "Submit"
|
52 |
When I press "Submit"
|
53 |
Then the following should exist in the "gradereport_history" table:
|
53 |
Then the following should exist in the "gradereport_history" table:
|
54 |
| First name/Last name | Email address | Favourite food | Grade item | Original grade | Revised grade | Grader |
|
54 |
| First name | Email address | Favourite food | Grade item | Original grade | Revised grade | Grader |
|
55 |
| Student 1 | student1@example.com | apple | The greatest assignment ever | | 50.00 | Teacher 1 |
|
55 |
| Student 1 | student1@example.com | apple | The greatest assignment ever | | 50.00 | Teacher 1 |
|
56 |
| Student 1 | student1@example.com | apple | Rewarding assignment | | 60.00 | Teacher 1 |
|
56 |
| Student 1 | student1@example.com | apple | Rewarding assignment | | 60.00 | Teacher 1 |
|
57 |
| Student 2 | student2@example.com | orange | The greatest assignment ever | | 50.00 | Teacher 1 |
|
57 |
| Student 2 | student2@example.com | orange | The greatest assignment ever | | 50.00 | Teacher 1 |
|
58 |
| Student 2 | student2@example.com | orange | Rewarding assignment | | 60.00 | Teacher 1 |
|
58 |
| Student 2 | student2@example.com | orange | Rewarding assignment | | 60.00 | Teacher 1 |
|
59 |
| Student 1 | student1@example.com | apple | The greatest assignment ever | 50.00 | 70.00 | Teacher 2 |
|
59 |
| Student 1 | student1@example.com | apple | The greatest assignment ever | 50.00 | 70.00 | Teacher 2 |
|
Línea 77... |
Línea 77... |
77 |
# Deselect.
|
77 |
# Deselect.
|
78 |
And I click on "Student 2" "checkbox"
|
78 |
And I click on "Student 2" "checkbox"
|
79 |
And I press "Finish selecting users"
|
79 |
And I press "Finish selecting users"
|
80 |
And I press "Submit"
|
80 |
And I press "Submit"
|
81 |
And the following should exist in the "gradereport_history" table:
|
81 |
And the following should exist in the "gradereport_history" table:
|
82 |
| First name/Last name | Grade item | Original grade | Revised grade | Grader |
|
82 |
| First name | Grade item | Original grade | Revised grade | Grader |
|
83 |
| Student 1 | The greatest assignment ever | | 50.00 | Teacher 1 |
|
83 |
| Student 1 | The greatest assignment ever | | 50.00 | Teacher 1 |
|
84 |
| Student 1 | Rewarding assignment | | 60.00 | Teacher 1 |
|
84 |
| Student 1 | Rewarding assignment | | 60.00 | Teacher 1 |
|
85 |
| Student 1 | The greatest assignment ever | 50.00 | 70.00 | Teacher 2 |
|
85 |
| Student 1 | The greatest assignment ever | 50.00 | 70.00 | Teacher 2 |
|
86 |
| Student 1 | Rewarding assignment | 60.00 | 80.00 | Teacher 2 |
|
86 |
| Student 1 | Rewarding assignment | 60.00 | 80.00 | Teacher 2 |
|
87 |
# Test for seeing custom fields contents in the rows.
|
87 |
# Test for seeing custom fields contents in the rows.
|
Línea 94... |
Línea 94... |
94 |
| Student 2 | Rewarding assignment | 60.00 | 80.00 | Teacher 2 |
|
94 |
| Student 2 | Rewarding assignment | 60.00 | 80.00 | Teacher 2 |
|
95 |
# Test filtering by assignment.
|
95 |
# Test filtering by assignment.
|
96 |
And I set the field "Grade item" to "The greatest assignment ever"
|
96 |
And I set the field "Grade item" to "The greatest assignment ever"
|
97 |
And I press "Submit"
|
97 |
And I press "Submit"
|
98 |
And the following should exist in the "gradereport_history" table:
|
98 |
And the following should exist in the "gradereport_history" table:
|
99 |
| First name/Last name | Grade item | Original grade | Revised grade | Grader |
|
99 |
| First name | Grade item | Original grade | Revised grade | Grader |
|
100 |
| Student 1 | The greatest assignment ever | | 50.00 | Teacher 1 |
|
100 |
| Student 1 | The greatest assignment ever | | 50.00 | Teacher 1 |
|
101 |
| Student 1 | The greatest assignment ever | 50.00 | 70.00 | Teacher 2 |
|
101 |
| Student 1 | The greatest assignment ever | 50.00 | 70.00 | Teacher 2 |
|
102 |
And the following should not exist in the "gradereport_history" table:
|
102 |
And the following should not exist in the "gradereport_history" table:
|
103 |
| Student 1 | Rewarding assignment | | 60.00 | Teacher 1 |
|
103 |
| Student 1 | Rewarding assignment | | 60.00 | Teacher 1 |
|
104 |
| Student 1 | Rewarding assignment | 60.00 | 80.00 | Teacher 2 |
|
104 |
| Student 1 | Rewarding assignment | 60.00 | 80.00 | Teacher 2 |
|
105 |
# Test filtering by grader.
|
105 |
# Test filtering by grader.
|
106 |
And I set the field "Grader" to "Teacher 1"
|
106 |
And I set the field "Grader" to "Teacher 1"
|
107 |
And I press "Submit"
|
107 |
And I press "Submit"
|
108 |
And the following should exist in the "gradereport_history" table:
|
108 |
And the following should exist in the "gradereport_history" table:
|
109 |
| First name/Last name | Email address | Favourite food | Grade item | Original grade | Revised grade | Grader |
|
109 |
| First name | Email address | Favourite food | Grade item | Original grade | Revised grade | Grader |
|
110 |
| Student 1 | student1@example.com | apple | The greatest assignment ever | | 50.00 | Teacher 1 |
|
110 |
| Student 1 | student1@example.com | apple | The greatest assignment ever | | 50.00 | Teacher 1 |
|
111 |
And the following should not exist in the "gradereport_history" table:
|
111 |
And the following should not exist in the "gradereport_history" table:
|
112 |
| Student 1 | The greatest assignment ever | 50.00 | 70.00 | Teacher 2 |
|
112 |
| Student 1 | The greatest assignment ever | 50.00 | 70.00 | Teacher 2 |
|
113 |
# Test filtering by revised grades.
|
113 |
# Test filtering by revised grades.
|
114 |
And I click on "id_revisedonly" "checkbox"
|
114 |
And I click on "id_revisedonly" "checkbox"
|
115 |
And I press "Submit"
|
115 |
And I press "Submit"
|
116 |
And the following should exist in the "gradereport_history" table:
|
116 |
And the following should exist in the "gradereport_history" table:
|
117 |
| First name/Last name | Email address | Favourite food | Grade item | Original grade | Revised grade | Grader |
|
117 |
| First name | Email address | Favourite food | Grade item | Original grade | Revised grade | Grader |
|
118 |
| Student 1 | student1@example.com | apple | The greatest assignment ever | | 50.00 | Teacher 1 |
|
118 |
| Student 1 | student1@example.com | apple | The greatest assignment ever | | 50.00 | Teacher 1 |
|