From da1af82875221aaa5bc446d2216692a2a9d2cf52 Mon Sep 17 00:00:00 2001 From: Dave Cooper Date: Fri, 17 Apr 2015 12:17:35 +0800 Subject: [PATCH] MDL-49573 gradereport_singleview: Add tests for bulk grade inserts --- .../singleview/tests/behat/bulk_insert_grades.feature | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/grade/report/singleview/tests/behat/bulk_insert_grades.feature b/grade/report/singleview/tests/behat/bulk_insert_grades.feature index 36040dba873..73a193a80d4 100644 --- a/grade/report/singleview/tests/behat/bulk_insert_grades.feature +++ b/grade/report/singleview/tests/behat/bulk_insert_grades.feature @@ -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"