Assert whether the mobile nav menu is currently open or closed, based on Webflow's w--nav-menu-open state class. The class is polled for the wait budget, since the menu animates open and closed.
Examples
Then the mobile menu should be open
Then the mobile menu should be closed
And the mobile navigation menu should be open
Then the mobile menu should not be open
And the mobile navigation menu should not be closed
Pattern
Then(/^the mobile( navigation)? menu should( not)* be (open|closed)$/, …)
Part of @webship-js/webflow-steps (github.com/webship/webflow-steps), a step pack for Webship-js 2.0.x.