When I close the message "Post created successfully!"

Close a message of the page with its close button, as a person does, and wait for it to go: a dismissible alert fades out, then leaves the page.

Examples

When I close the message "Post created successfully!"
When we close the message "Post deleted successfully!"
And I close the message "User updated successfully!"
When I close the message "Post updated successfully!"
Then I close the message "Post created successfully!"

Pattern

When(/^(I |we )*close the message "([^"]*)"$/, …)

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