When I log in as "student" with the login form

Log in through the login form as an account of the users registry, as a person does: a new session, never one taken over. For the scenarios that test the form itself; the step fails when the site refuses the login.

Examples

When I log in as "student" with the login form
When we log in as "teacher" with the login form
And I log in as "administrator" with the login form
When I log in as "manager" with the login form
When we log in as "student2" with the login form

Pattern

When(/^(I |we )*log in as "([^"]*)" with the login form$/, …)

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