When I unpublish the post

Take a published or scheduled post or page back to a draft, through the "Unpublish" (or "Unschedule") button of the editor and its confirmation.

Examples

When I unpublish the post
When I unpublish the page
When we unpublish the post
And I unpublish the post
And we unpublish the page

Pattern

When(/^(?:I |we )?unpublish the (?:post|page)$/, …)

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