Then I should be on page 2 of the listing

Assert the page of a paginated listing the browser is on, as the address names it: no page number means page 1.

Examples

Then I should be on page 2 of the listing
Then I should be on page 1 of the listing
Then we should be on page 3 of the listing
And I should be on page 2 of the listing
And we should be on page 1 of the listing

Pattern

Then(/^(I |we )*should be on page (\d+) of the listing$/, …)

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