When I log in with the username "nobody" and the password "Wrong-password-1"

Send the login form with a user name and a password. The step does not expect the login to succeed: assert the outcome with the next step.

Examples

When I log in with the username "nobody" and the password "Wrong-password-1"
When we log in with the username "member" and the password "Not-the-password-2"
And I log in with the username "member" and the password ""
When I log in with the username "" and the password ""
When we log in with the username "moderator" and the password "wrong"

Pattern

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

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