When I write the text "A test mail from the scenario."

Write the text of the message being written (it replaces what the text holds).

Examples

When I write the text "A test mail from the scenario."
When we write the text "See you on Friday."
And I write the text "The report is attached."
When I write the text "Hello Bob"
When I write the text "Thank you."

Pattern

When(/^(?:I|we) write the text "([^"]*)"$/, …)

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