When I restore the version "Webship test version"

Restore a version of the open file: its menu in the History panel, "Restore", then "Restore" in the bar that asks. The file goes back to what it was then.

Examples

When I restore the version "Webship test version"
When we restore the version "Webship test before"
And I restore the version "Webship test version"
When I restore the version "Webship test first"
When I restore the version "Webship test version"

Pattern

When(/^(?:I|we) restore the version "([^"]*)"$/, …)

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