When I submit the contact form with subject "Question" and message "Hello there"

Fill and submit the default contact form. Anonymous submissions also need a name and an email address: when those fields are present they are filled from the anonymous entry of the users registry (worldParameters.users.anonymous, keys name and email), falling back to "Webship QA" / "qa@example.com".

Examples

When I submit the contact form with subject "Question" and message "Hello there"
And we submit the contact form with subject "Support" and message "Need help"
When submit the contact form with subject "Feedback" and message "Great site"
And I submit the contact form with subject "Bug report" and message "Found an issue"
When we submit the contact form with subject "General" and message "Just saying hi"

Pattern

When(/^(I |we )*submit the contact form with subject "([^"]*)" and message "([^"]*)"$/, …)

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