Click a top-level or nested link inside the Joomla main menu module (.mod-menu), by its visible text. Works for both the desktop nav and an already-expanded mobile nav.
Examples
When I open the "Blog" menu item
When I open the "Help" menu item
When we open the "FAQ" menu item
And I open the "Login" menu item
When open the "Typography" menu item
Pattern
When(/^(I |we )*open the "([^"]*)?" menu item$/, …)
Part of @webship-js/joomla-steps (github.com/webship/joomla-steps), a step pack for Webship-js 2.0.x.