Assert the grade the account in the browser has for a grade item (an activity, or "Course total") in its user report of the scenario's course ("-" for no grade).
Examples
Then my grade for "Testing diary" in the user report should be "85.00"
Then my grade for "Basics quiz" in the user report should be "-"
And my grade for "Course total" in the user report should be "85.00"
Then my grade for "Testing diary" in the user report should be "-"
And my grade for "Basics quiz" in the user report should be "10.00"
Pattern
Then(/^my grade for "([^"]*)" in the user report should be "([^"]*)"$/, …)
Part of @webship-js/moodle-steps (github.com/webship/moodle-steps), a step pack for Webship-js 2.0.x.