Then the document should have 3 versions

How many versions the document has (the rows of its versions; up to the page size of that list).

Examples

Then the document should have 3 versions
Then the document should have 1 version
And the document should have 2 versions
Then the document should have 4 versions
Then the document should have 5 versions

Pattern

Then(/^the document should have (\d+) versions?$/, …)

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