When I log in as "admin"

Log in through the log in form with an account of the users registry, by its handle: the same as "I am logged in as", worded as an action.

Examples

When I log in as "admin"
When I log in as "editor"
When we log in as "member"
And I sign in as "editor"
When we sign in as "admin"

Pattern

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

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