Log in with explicit credentials, for scenarios where the credentials are the subject. Requires the login screen to be open already.
Examples
When I log in as "admin" with password "secret"
When we sign in as "editor" with password "p@ssw0rd"
And log in as "author" with password "letmein"
And we log in as "reviewer" with password "hunter2"
When I sign in as "admin" with password "wrong-password"
Pattern
When(/^(I |we )*(?:log in|sign in) as "([^"]*)?" with password "([^"]*)?"$/, …)
Part of @webship-js/wordpress-steps (github.com/webship/wordpress-steps), a step pack for Webship-js 2.0.x.