Open a module from the module menu and wait until it is loaded in the content frame. Name the module by its label ("Page", "List", "Forms"), by "Group > Label" when two modules share a label ("Admin Tools > Settings"), or by its identifier ("web_layout"). A collapsed group is expanded first.
Examples
When I open the "Page" module
When I open the "List" module
When we open the "Admin Tools > Settings" module
And I open the "web_layout" module
When open the "Forms" module
Pattern
When(/^(I |we )*open the "([^"]*)?" module$/, …)
Part of @webship-js/typo3-steps (github.com/webship/typo3-steps), a step pack for Webship-js 2.0.x.