Delete a discussion of a forum of the scenario's course with its replies, the way a teacher does: the discussion page, "Delete" on its first post, then "Continue". The step fails with the site's own words when it refuses (a student cannot delete a post once anybody replied to it).
Examples
When I delete the discussion "A question about flaky tests" from the forum "Class discussion"
When we delete the discussion "Study group" from the forum "Class discussion"
And I delete the discussion "Read the handbook first" from the forum "Class discussion"
Then I delete the discussion "A question about flaky tests" from the forum "Class discussion"
Given we delete the discussion "Welcome" from the forum "Announcements"
Pattern
When(/^(I |we )*delete the discussion "([^"]*)" from the forum "([^"]*)"$/, …)
Part of @webship-js/moodle-steps (github.com/webship/moodle-steps), a step pack for Webship-js 2.0.x.