When I log in as "admin" with password "wrong-password"

Fill the admin login form with a username and a password and submit it, without asserting the outcome: use it to test the form itself (a wrong password, an inactive account). To log in for a scenario, use the registry step above.

Examples

When I log in as "admin" with password "wrong-password"
When we log in as "editor" with password "not-the-password"
And I sign in as "nobody" with password "secret"
When log in as "admin" with the password "wrong-password"
And we sign in as "editor" with the password "editor"

Pattern

When(/^(I |we )*(?:log in|sign in) as "([^"]*)" with (?:the )?password "([^"]*)"$/, …)

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