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

Fill and submit the login form (#edit-name, #edit-pass, #edit-submit).

Examples

When I log in as "admin" with password "admin"
And we log in as "editor" with password "p@ssw0rd"
When log in as "reviewer" with password "hunter2"
And I sign in as "site_manager" with password "letmein"
When we sign in as "admin" with password "admin"

Pattern

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

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