Assert the page does (or does not) show a version banner: a page of an old version ("…which is no longer actively maintained.") or of the unreleased one ("This is unreleased documentation…") shows one above its title; a page of the latest version shows none.
Examples
Then the page should show a version banner
But the page should not show a version banner
Then page should show a version banner
And the page should not show a version banner
And the page should show a version banner
Pattern
Then(/^(?:the )?page should( not)* show a version banner$/, …)
Part of @webship-js/docusaurus-steps (github.com/webship/docusaurus-steps), a step pack for Webship-js 2.0.x.