Assert that the History panel of the open file lists a version, or does not.
Examples
Then the history should list the version "Webship test version"
Then the history should not list the version "Webship test version"
And the history should list the version "Webship test before"
Then the history should list the version "Webship test first"
But the history should not list the version "Webship test first"
Pattern
Then(/^the history should( not)? list the version "([^"]*)"$/, …)
Part of @webship-js/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.