When I submit the log in form with the username "admin" and the password "wrong"

Submit the log in form with a username and a password as they are typed, without judging the outcome: for wrong passwords and unknown accounts. Assert the outcome with the message and session steps.

Examples

When I submit the log in form with the username "admin" and the password "wrong"
When I submit the log in form with the username "nobody" and the password "secret"
When we submit the log in form with the username "editor" and the password ""
And I submit the log in form with the username "member" and the password "not-this"
When submit the log in form with the username "admin@example.com" and the password "wrong"

Pattern

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

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