MDL-46139 grades: adjust behat to check calculated weight

Part of: MDL-46576
This commit is contained in:
Marina Glancy 2014-09-19 15:48:19 +08:00 committed by Adrian Greeve
parent d06aec10c6
commit b0e9b95911

View File

@ -98,8 +98,8 @@ Feature: We can enter in grades and view reports from the gradebook
And I follow "Grades"
Then the following should exist in the "user-grade" table:
| Grade item | Calculated weight | Grade | Range | Percentage |
| Test assignment name 1 | 0.72 | 80.00 | 0100 | 80.00 % |
| Test assignment name 2 | 1.00 | 90.00 | 0100 | 90.00 % |
| Test assignment name 1 | 41.86 % | 80.00 | 0100 | 80.00 % |
| Test assignment name 2 | 58.14 % | 90.00 | 0100 | 90.00 % |
| Course total | - | 85.81 | 0100 | 85.81 % |
And the following should not exist in the "user-grade" table:
| Grade item | Calculated weight | Percentage |