Skip to content

Commit

Permalink
MDL-56646 mod_assign: Make rescale behat more specific
Browse files Browse the repository at this point in the history
  • Loading branch information
xow committed Aug 31, 2017
1 parent f33afd1 commit 5ded13e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mod/assign/tests/behat/rescale_grades.feature
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,5 @@ Feature: Check that the assignment grade can be rescaled when the max grade is c
And I set the field "Maximum grade" to "50"
When I press "Save and display"
And I navigate to "View all submissions" in current page administration
# Since the decimal places are always displayed (e.g. 0.00), this will catch any grade. The student should not have one.
# We can't just check for - (empty grade) because a negative grade would also have that character.
Then "Student 2" row "Grade" column of "generaltable" table should not contain "."
# Make sure the student did not receive a negative grade.
Then "Student 2" row "Grade" column of "generaltable" table should not contain "-0.50"

0 comments on commit 5ded13e

Please sign in to comment.