When I open the "Use Google's location service?" dialog with the "Open alert dialog" button

Open a dialog, a side panel or a drop-down menu with the button (or link) that opens it, and wait until it is shown and has stopped moving. Without "with the … button", the button is named like the component. A side panel or a menu with no name of its own takes the name the step gives it.

Examples

When I open the "Use Google's location service?" dialog with the "Open alert dialog" button
When I open the "Mailboxes" side panel with the "Open drawer" button
When I open the "Dashboard" drop-down menu
And we open the "Reset password" dialog with the "Forgot your password?" button
When I open the "Account" dropdown menu with the "Account settings" link

Pattern

When(/^(?:I |we )?open the "([^"]*)" (dialog|side panel|drop-?down menu)(?: with the "([^"]*)" (button|link))?$/, …)

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