Then the site should say "has been created!"

Assert that the site said a message (or a part of it): the message at the top of the page after a save, a delete or a refusal ("Lina Haddad has been created!", "… has been deleted!"), or an alert of the login and password pages. A message closes itself after four seconds; the pack records each one as it comes.

Examples

Then the site should say "has been created!"
Then the site should say "Note created successfully"
And the site should say "Webship test contact has been deleted!"
Then the site should say "Passwords do not match."
Then the site should say "A new password has been generated and will be emailed to you"

Pattern

Then(/^the site should say "([^"]*)"$/, …)

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