When I publish the document

Publish the document ("Publish changes", or "Publish"), then wait for the site's answer and the notification ("Updated successfully." or the refusal).

Examples

When I publish the document
And I publish the document
When I publish the document
Then I publish the document
When I publish the document

Pattern

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

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