Fill and submit the core login form with the given username/email and password (#login, #password, the form's submit button), for scenarios where the credentials are the subject. Requires the login screen to be open already.
Examples
When I log in to Odoo as "admin" with password "secret"
When we log in as "demo@example.com" with password "p@ssw0rd"
And I sign in to Odoo as "admin" with password "secret"
When we sign-in as "reviewer" with password "hunter2"
And log in as "portal_user" with password "letmein"
Pattern
When(/^(I |we )*(?:log in|sign[- ]?in)(?: to Odoo)? as "([^"]*)?" with password "([^"]*)?"$/, …)
Part of @webship-js/odoo-steps (github.com/webship/odoo-steps), a step pack for Webship-js 2.0.x.