Log in through the login form as an account of the users registry: its address and its password typed in, as a person does. The session is kept for the scenarios after.
Examples
When I log in as "editor" with the login form
When we log in as "owner" with the login form
And I log in as "viewer" with the login form
When I log in as "admin" with the login form
Given I log in as "editor" with the login form
Pattern
When(/^(I |we )*log in as "([^"]*)" with the login form$/, …)
Part of @webship-js/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.