In the open navigation menu of a page of the docs, go from the sidebar of the docs back to the main menu (the links of the navbar), with its button "← Back to main menu".
Examples
When I go back to the main menu
And I go back to the main menu
When we go back to the main menu
When go back to the main menu
Then I go back to the main menu
Pattern
When(/^(I |we )*go back to the main menu$/, …)
Part of @webship-js/docusaurus-steps (github.com/webship/docusaurus-steps), a step pack for Webship-js 2.0.x.