diff --git a/lib/form/tests/behat/modgrade_validation.feature b/lib/form/tests/behat/modgrade_validation.feature index a5dd9f7b9e8..7884710ac39 100644 --- a/lib/form/tests/behat/modgrade_validation.feature +++ b/lib/form/tests/behat/modgrade_validation.feature @@ -185,7 +185,7 @@ Feature: Using the activity grade form element And I follow "Test forum name" And I navigate to "Edit settings" in current page administration When I expand all fieldsets - Then I should see "Some grades have already been awarded, so the grade type cannot be changed. If you wish to change the maximum grade, you must first choose whether or not to rescale existing grades." + Then I should see "You cannot change the type, as grades already exist for this item." And I set the field "Maximum grade" to "50" And I press "Save and display" And I should see "You cannot change the maximum grade when grades already exist for an activity with ratings"