Assert the pager at the foot of a page of the docs has no link to the next (or the previous) page: the first and the last pages of a sidebar.
Examples
Then there should be no previous page
And there should be no next page
Then there should be no next page
But there should be no previous page
And there should be no previous page
Pattern
Then(/^there should be no (next|previous) page$/, …)
Part of @webship-js/docusaurus-steps (github.com/webship/docusaurus-steps), a step pack for Webship-js 2.0.x.