Then the list should have no previous page

Assert that a long list has no next page (on its last page) or no previous page (on its first one): that link of the pager is disabled.

Examples

Then the list should have no previous page
Then the list should have no next page
And the list should have no previous page
But the list should have no next page
Then the list should have no previous page

Pattern

Then(/^the list should have no (next|previous) page$/, …)

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