When I delete the course "Throwaway course" from the category "Test courses"

Delete a course of a category, the way an administrator does: course management, the category, the course's "Delete" icon, "Delete" to confirm, then "Continue" once the site says the course has been completely deleted.

Examples

When I delete the course "Throwaway course" from the category "Test courses"
When we delete the course "Second throwaway course" from the category "Test courses"
And I delete the course "Throwaway course" from the category "Test courses"
Then I delete the course "Throwaway course" from the category "Category 1"
Given we delete the course "Throwaway course" from the category "Test courses"

Pattern

When(/^(I |we )*delete the course "([^"]*)" from the category "([^"]*)"$/, …)

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