Delete the attempts of a student at a quiz of the scenario's course, the way a teacher does: the results of the quiz, the student's attempts selected, "Delete selected attempts", then "Yes".
Examples
When I delete the attempts of "student" at the quiz "Basics quiz"
When we delete the attempts of "student" at the quiz "Basics quiz"
And I delete the attempts of "student" at the quiz "Basics quiz"
Then I delete the attempts of "student" at the quiz "Basics quiz"
Given we delete the attempts of "student" at the quiz "Basics quiz"
Pattern
When(/^(I |we )*delete the attempts of "([^"]*)" at the quiz "([^"]*)"$/, …)
Part of @webship-js/moodle-steps (github.com/webship/moodle-steps), a step pack for Webship-js 2.0.x.