diff --git a/grade/tests/behat/grade_natural_normalisation.feature b/grade/tests/behat/grade_natural_normalisation.feature index a2d50cb325c..c1d325a5f72 100644 --- a/grade/tests/behat/grade_natural_normalisation.feature +++ b/grade/tests/behat/grade_natural_normalisation.feature @@ -263,5 +263,14 @@ Feature: We can use natural aggregation and weights will be normalised to a tota And I set the field "Override weight of Test assignment six" to "1" And I set the field "Weight of Test assignment six" to "-25" And I press "Save changes" - Then the field "Weight of Test assignment six" matches value "0.0" + And the field "Weight of Test assignment six" matches value "0.0" And the field "Weight of Test assignment seven" matches value "100.0" + And I follow "Reset weights of Sub category 1" + And I set the field "Override weight of Test assignment five" to "1" + And I set the field "Override weight of Test assignment six" to "1" + And I set the field "Weight of Test assignment five" to "-10" + And I set the field "Weight of Test assignment six" to "120" + And I press "Save changes" + And the field "Weight of Test assignment five" matches value "0.0" + And the field "Weight of Test assignment six" matches value "100.0" + And the field "Weight of Test assignment seven" matches value "0.0" \ No newline at end of file