When I restore this version

Restore the version opened ("Restore this version"), or restore it as a draft (its menu: "Restore as draft"), confirming; the admin then shows the document's form.

Examples

When I restore this version
When I restore this version as a draft
And I restore this version
When I restore this version as a draft
Then I restore this version

Pattern

When(/^I restore this version( as a draft)?$/, …)

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