Close the menus that are open as a person does with the keyboard (Escape), a submenu first.
Examples
When I close the menu
And I close the menu
When we close the menu
Then I close the menu
When I close the menu
Pattern
When(/^(?:I|we) close the menu$/, …)
Part of @webship-js/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.