Then the list should be on page 2

Assert the page of the list on screen, or how many pages it has.

Examples

Then the list should be on page 2
Then the list should have 6 pages
And the list should be on page 1
Then the "Addresses" list should be on page 1
Then the list should have 1 page

Pattern

Then(/^the (?:"([^"]*)" )?list should (be on page|have) (\d+)(?: pages?)?$/, …)

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