When I dismiss the alert "This Alert displays the default close icon."

Dismiss an alert with its close button, and wait until it is gone.

Examples

When I dismiss the alert "This Alert displays the default close icon."
And we dismiss the alert "Saved"
When I dismiss the alert "Settings saved"
And I dismiss the alert "Welcome back"
When we dismiss the alert "This Alert displays the default close icon."

Pattern

When(/^(?:I |we )?dismiss the alert "([^"]*)"$/, …)

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