When I log in with the user name "No such account here" 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. The wiki allows 5 failed logins of one account from one address in 5 minutes, so a refusal scenario tries a name the other scenarios do not log in with.

Examples

When I log in with the user name "No such account here" and the password "Wrong-password-1"
When we log in with the user name "reader" and the password "Not-the-password-2"
And I log in with the user name "Nobody at all" and the password "Whatever-123!"
When I log in with the user name "" and the password "Wrong-password-1"
When we log in with the user name "Someone unknown" and the password "x"

Pattern

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

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