When I clear the grade of "student" for the assignment "Testing diary"

Take a student's grade of an assignment of the scenario's course back, the way a teacher does: the grader, the "Grade out of …" field emptied, then "Save changes".

Examples

When I clear the grade of "student" for the assignment "Testing diary"
When we clear the grade of "student" for the assignment "Testing diary"
And I clear the grade of "student" for the assignment "Testing diary"
Then I clear the grade of "student" for the assignment "Testing diary"
Given we clear the grade of "student" for the assignment "Testing diary"

Pattern

When(/^(I |we )*clear the grade of "([^"]*)" for the assignment "([^"]*)"$/, …)

Part of @webship-js/moodle-steps (github.com/webship/moodle-steps), a step pack for Webship-js 2.0.x.