Given "moderator" sent the message "Webship test message" to "member" with "Webship test: a word from the moderator."

An account of the users registry sent a private message to another (in a browser page of its own, the page of the scenario stays as it is).

Examples

Given "moderator" sent the message "Webship test message" to "member" with "Webship test: a word from the moderator."
And "administrator" sent the message "Webship test message" to "member" with "Webship test: a word from the administrator."
Given "member" sent the message "Webship test question" to "moderator" with "Webship test: a question."
Given "member" sent the message "Webship test message" to "newmember" with "Webship test: hello."
And "moderator" sent the message "Webship test message" to "administrator" with "Webship test: a note."

Pattern

Given(/^"([^"]*)" sent the message "([^"]*)" to "([^"]*)" with "([^"]*)"$/, …)

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