Merge branch 'MDL-55520-master' of git://github.com/damyon/moodle

This commit is contained in:
Andrew Nicols
2016-08-15 10:58:39 +08:00
2 changed files with 25 additions and 2 deletions
@@ -45,6 +45,22 @@ Feature: Check that the assignment grade can be rescaled when the max grade is c
And I follow "View all submissions"
Then "Student 1" row "Grade" column of "generaltable" table should contain "40.00"
Scenario: Update an assignment without touching the max grades
Given I follow "Edit settings"
And I expand all fieldsets
And I set the field "Rescale existing grades" to "No"
And I set the field "Maximum grade" to "80"
And I press "Save and display"
And I follow "Edit settings"
And I press "Save and display"
And I follow "Edit settings"
And I expand all fieldsets
And I set the field "Rescale existing grades" to "Yes"
And I set the field "Maximum grade" to "80"
When I press "Save and display"
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
Given I follow "Edit settings"
And I expand all fieldsets