Assert what the version menu or the language menu shows as its label: the version of the page (on a page of the docs; elsewhere the version last chosen) or the language of the page.
Examples
Then the version menu should show "2.0"
And the language menu should show "Français"
Then the version menu should show "1.0"
And version menu should show "Next"
Then the language menu should show "English"
Pattern
Then(/^(?:the )?(version|language) menu should show "([^"]*)?"$/, …)
Part of @webship-js/docusaurus-steps (github.com/webship/docusaurus-steps), a step pack for Webship-js 2.0.x.