When I open the mobile menu

Expand the collapsed Joomla/Bootstrap main menu on narrow (mobile) viewports by clicking the navbar toggler button. Fails with a clear message if the toggler is not present (e.g. desktop viewport where the menu is already expanded).

Examples

When I open the mobile menu
When I open the mobile navigation menu
When we open the mobile menu
And I open the mobile menu
When I open the mobile navigation

Pattern

When(/^(I |we )*open the mobile (navigation menu|navigation|menu)$/, …)

Part of @webship-js/joomla-steps (github.com/webship/joomla-steps), a step pack for Webship-js 2.0.x.