Then the archive should have a next page

Whether the archive has a next or a previous page, as the page declares it in <head> (<link rel="next">, <link rel="prev">).

Examples

Then the archive should have a next page
Then the archive should have a previous page
Then the archive should not have a next page
Then the archive should not have a previous page
And the archive should have a next page

Pattern

Then(/^the archive should( not)? have a (next|previous) page$/, …)

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