When I file the post under the category "Reports"

File the post under a category, in the editor sidebar. The category must exist already (see "I add the category").

Examples

When I file the post under the category "Reports"
When we file the post under the category "News"
And I file the post under the category "Events"
When I file the post under the category "Uncategorized"
And we file the post under the category "Releases"

Pattern

When(/^(I |we )*file the post under the category "([^"]*)"$/, …)

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