Send 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 (the error message of the login page, the page the app sends a signed-in account to).
Examples
When I log in with the email "user@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 "banned@example.com" and the password "wrong-password"
And I log in with the email "a@b" 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/codeigniter-steps (github.com/webship/codeigniter-steps), a step pack for Webship-js 2.0.x.