Try to send a private message, expecting nothing: the recipient, the subject and the text as given (an unknown recipient, an empty subject). Assert the error of the editor with the next step.
Examples
When I try to send the message "Webship test message" to "webship-test-nobody" with "Webship test."
When I try to send the message "" to "moderator" with "Webship test: a message without a subject."
And we try to send the message "Webship test message" to "moderator" with ""
When we try to send the message "Webship test message" to "webship-test-nobody" with "Webship test."
And I try to send the message "" to "administrator" with ""
Pattern
When(/^(?:I|we) try to send the message "([^"]*)" to "([^"]*)" with "([^"]*)"$/, …)
Part of @webship-js/phpbb-steps (github.com/webship/phpbb-steps), a step pack for Webship-js 2.0.x.