Log in to the storefront as an account of the users registry, by its handle, through the shop's login form (the customer logs in with its address). The account's pages then carry the session's token.
Examples
Given I am logged in to the shop as "customer"
Given we are logged in to the shop as "customer"
And I am logged in to the shop as "customer"
Given I log in to the shop as "customer"
When I log in to the shop as "customer"
Pattern
Given(/^(?:(?:I am|we are) logged in|(?:I|we) log in) to the shop as "([^"]*)"$/, …)
Part of @webship-js/opencart-steps (github.com/webship/opencart-steps), a step pack for Webship-js 2.0.x.