Assert a menu of the navbar lists (or does not list) one or more items, given as a list ("Next, 2.0 and 1.0"): each must be there, in that order; with "not", none of them may be there.
Examples
Then the "Community" menu of the navbar should list "Support, Forum"
And the version menu should list "Next, 2.0 and 1.0"
Then the language menu should list "English, Français"
But the version menu should not list "3.0"
And the "Community" menu of the navbar should not list "Docs"
Pattern
Then(/^(?:the )?(?:"([^"]*)?" menu of the navbar|(version|language) menu) should( not)* list "([^"]*)?"$/, …)
Part of @webship-js/docusaurus-steps (github.com/webship/docusaurus-steps), a step pack for Webship-js 2.0.x.