MDL-49573 gradereport_singleview: Add tests for bulk grade inserts
This commit is contained in:
committed by
David Monllao
parent
52c475e082
commit
da1af82875
@@ -46,7 +46,7 @@ Feature: We can bulk insert grades for students in a course
|
||||
And the field "Override for james (Student) 1" matches value "0"
|
||||
And I click on "Perform bulk insert" "checkbox"
|
||||
And I set the field "Insert value" to "1.0"
|
||||
And I press "Save"
|
||||
And I press "Update"
|
||||
And I press "Continue"
|
||||
And the field "Grade for james (Student) 1" matches value "50.00"
|
||||
And the field "Override for james (Student) 1" matches value "0"
|
||||
@@ -59,7 +59,7 @@ Feature: We can bulk insert grades for students in a course
|
||||
And I click on "All grades" "option"
|
||||
And I click on "Perform bulk insert" "checkbox"
|
||||
And I set the field "Insert value" to "2.0"
|
||||
And I press "Save"
|
||||
And I press "Update"
|
||||
And I press "Continue"
|
||||
And the field "Grade for james (Student) 1" matches value "2.00"
|
||||
And the field "Override for james (Student) 1" matches value "1"
|
||||
@@ -83,13 +83,13 @@ Feature: We can bulk insert grades for students in a course
|
||||
And I press "Continue"
|
||||
And I follow "View gradebook"
|
||||
And I follow "Single view for Test assignment two"
|
||||
And I click on "Student 1" "option"
|
||||
And I follow "Show grades for james (Student) 1."
|
||||
Then the field "Grade for Test assignment two" matches value "50.00"
|
||||
And the field "Override for Test assignment two" matches value "0"
|
||||
And I click on "Perform bulk insert" "checkbox"
|
||||
And I click on "Empty grades" "option"
|
||||
And I set the field "Insert value" to "1.0"
|
||||
And I press "Save"
|
||||
And I press "Update"
|
||||
And I press "Continue"
|
||||
And the field "Grade for Test assignment two" matches value "50.00"
|
||||
And the field "Override for Test assignment two" matches value "0"
|
||||
|
||||
Reference in New Issue
Block a user