Then the messages page should say "Please add at least one recipient."

Assert the messages page says something ("Please add at least one recipient.", "Messages deleted").

Examples

Then the messages page should say "Please add at least one recipient."
And the messages page should say "Messages deleted"
Then the messages page should say "at least one recipient"
And the messages page should say "Sorry, no messages were found."
Then the messages page should say "Messages deleted"

Pattern

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

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