When I revert the document to its published version

Give the document its published version back ("Revert to published", beside the status "Changed"), confirming when the admin asks.

Examples

When I revert the document to its published version
And I revert the document to its published version
When I revert the document to its published version
Then I revert the document to its published version
When I revert the document to its published version

Pattern

When(/^I revert the document to its published version$/, …)

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