Open or close the navigation menu, the navbar folded into a panel at a narrow width (its button "Toggle navigation bar"; "Close navigation bar" inside the panel). On a page of the docs the panel opens on the sidebar of the docs, with "← Back to main menu" above it.
Examples
When I open the navigation menu
And I close the navigation menu
When we open the navigation menu
When open the navigation menu
Then I close the navigation menu
Pattern
When(/^(I |we )*(open|close) the navigation menu$/, …)
Part of @webship-js/docusaurus-steps (github.com/webship/docusaurus-steps), a step pack for Webship-js 2.0.x.