Then the next page should be "Configuration"

Assert the title the pager at the foot of a page of the docs gives the next or the previous page.

Examples

Then the next page should be "Configuration"
And the previous page should be "Getting Started"
Then next page should be "Installation"
And the previous page should be "Introduction"
Then the next page should be "Deployment"

Pattern

Then(/^(?:the )?(next|previous) page should be "([^"]*)?"$/, …)

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