Assert the grade and the feedback a student sees on an assignment of the scenario's course: the "Feedback" part of the assignment page ("Grade" holds, for example, "85.00 / 100.00").
Examples
Then my grade for the assignment "Testing diary" should be "85.00 / 100.00"
And my grade for the assignment "Testing diary" should be "70.00 / 100.00"
Then my grade for the assignment "Testing diary" should be "100.00 / 100.00"
But my grade for the assignment "Testing diary" should be "85.00 / 100.00"
Then my grade for the assignment "Testing diary" should be "55.00 / 100.00"
Pattern
Then(/^my grade for the assignment "([^"]*)" should be "([^"]*)"$/, …)
Part of @webship-js/moodle-steps (github.com/webship/moodle-steps), a step pack for Webship-js 2.0.x.