mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
MDL-47676 core_grades: Behat test for negative weights.
This commit is contained in:
parent
cd5c7965e0
commit
65e274d76f
@ -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"
|
Loading…
x
Reference in New Issue
Block a user