When I log in as "member" 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 board refuses the login. On the login page a visitor was sent to, the step uses that form, so the board goes on to the page asked for.

Examples

When I log in as "member" with the login form
When we log in as "moderator" with the login form
And I log in as "administrator" with the login form
When I log in as "newmember" with the login form
Then we log in as "member" with the login form

Pattern

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

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