When I sign up for the newsletter with "not-an-email"

Signs up for the newsletter with an email address: fills in the form's email field and presses its button. The browser may refuse the address before anything is sent; otherwise waits for the store's answer. For refusals: an address that goes through makes a customer record.

Examples

When I sign up for the newsletter with "not-an-email"
When I sign up for the newsletter with "jane@example"
And I sign up for the newsletter with ""
When we sign up for the newsletter with "jane@@example.com"
When sign up for the newsletter with "jane@example"

Pattern

When(/^(?:I |we )?sign up for the newsletter with "([^"]*)"$/, …)

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