When I publish the entry

Publish the entry ("Publish"), confirming the admin's question when it asks one (an entry related to drafts), and wait for its answer and its notification ("Published document"). A form the admin refuses shows its errors and its notice instead: the next steps read them.

Examples

When I publish the entry
And I publish the entry
When I publish the entry
Then I publish the entry
When I publish the entry

Pattern

When(/^I publish the entry$/, …)

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