From 07a7d9a5f18eceb5714ce2175f0adc697c0c5a45 Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Wed, 30 Mar 2016 13:46:02 +0800 Subject: [PATCH] MDL-52954 assign: Fix new behat tests This is the result of new tests added using the old lang strings. --- mod/assign/tests/behat/rescale_grades.feature | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mod/assign/tests/behat/rescale_grades.feature b/mod/assign/tests/behat/rescale_grades.feature index 1a42574c6fd..b77182309ce 100644 --- a/mod/assign/tests/behat/rescale_grades.feature +++ b/mod/assign/tests/behat/rescale_grades.feature @@ -1,4 +1,4 @@ -@mod @mod_assign +@mod @mod_assign @bug Feature: Check that the assignment grade can be rescaled when the max grade is changed In order to ensure that the percentages are not affected by changes to the max grade As a teacher @@ -26,7 +26,7 @@ Feature: Check that the assignment grade can be rescaled when the max grade is c | Assignment name | Test assignment name | | Description | Test assignment description | And I follow "Test assignment name" - And I follow "View/grade all submissions" + And I follow "View all submissions" And I click on "Grade Student 1" "link" in the "Student 1" "table_row" And I set the field "Grade out of 100" to "40" And I press "Save changes" @@ -39,7 +39,7 @@ Feature: Check that the assignment grade can be rescaled when the max grade is c And I set the field "Maximum grade" to "80" And I set the field "Rescale existing grades" to "No" When I press "Save and display" - And I follow "View/grade all submissions" + And I follow "View all submissions" Then "Student 1" row "Grade" column of "generaltable" table should contain "40.00" Scenario: Update the max grade for an assignment rescaling existing grades @@ -48,7 +48,7 @@ Feature: Check that the assignment grade can be rescaled when the max grade is c And I set the field "Maximum grade" to "50" And I set the field "Rescale existing grades" to "Yes" When I press "Save and display" - And I follow "View/grade all submissions" + And I follow "View all submissions" Then "Student 1" row "Grade" column of "generaltable" table should contain "20.00" Scenario: A rescale existing grades is not needed when keeping max grade unchanged