When I log in with the email "member@example.com" and the password "wrong-password"

Submit the login form with an address and a password. The step does not expect the login to succeed: assert the outcome with the next step (an error under the "Email address" field, the dashboard).

Examples

When I log in with the email "member@example.com" and the password "wrong-password"
When we log in with the email "nobody@example.com" and the password "Whatever-123!"
When I log in with the email "unverified@example.com" and the password "wrong-password"
And I log in with the email "member@example.com" and the password "wrong-password"
When we log in with the email "no-such-account@example.org" and the password "Nothing-at-all-1!"

Pattern

When(/^(I |we )*log in with the email "([^"]*)" and the password "([^"]*)"$/, …)

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