Then the version menu of the edit form should list "Revision 2"

Assert that the version menu of the edit form lists, or does not list, a version: "Current", a draft or a recent revision.

Examples

Then the version menu of the edit form should list "Revision 2"
Then the version menu of the edit form should list "Draft 1"
Then the version menu of the edit form should not list "Draft 1"
And the version menu of the edit form should list "Current"
Then the version menu of the edit form should not list "Revision 3"

Pattern

Then(/^the version menu of the edit form should( not)* list "([^"]*)"$/, …)

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