When I choose "Publish" in the editor

Choose an action of the editor's footer by its words, without expecting an outcome: for the actions without a step of their own ("Schedule to publish", "Replace current draft", "Cancel workflow", "Approve and Publish") and for a refusal. Assert the outcome with the next step.

Examples

When I choose "Publish" in the editor
When I choose "Replace current draft" in the editor
And I choose "Cancel workflow" in the editor
When we choose "Schedule to publish" in the editor
When I choose "Save draft" in the editor

Pattern

When(/^(?:I|we) choose "([^"]*)" in the editor$/, …)

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