Then the history should list 2 revisions

Assert how many revisions the history lists.

Examples

Then the history should list 2 revisions
Then the history should list 1 revision
And the history should list 3 revisions
Then the history should list 4 revisions
And the history should list 2 revisions

Pattern

Then(/^the history should list (\d+) revisions?$/, …)

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