Then the pager should be on page 1

Assert the pager is (or is not) on a page, by its number.

Examples

Then the pager should be on page 1
Then the pager should be on page 2
And the pager should not be on page 1
Then the pager should be on page 3
And the pager should not be on page 2

Pattern

Then(/^the pager should( not)* be on page (\d+)$/, …)

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