Then I should be logged in

An account is signed in to the admin: its profile menu names it. With a handle of the users registry (or an email address), the menu shows that account's email address.

Examples

Then I should be logged in
Then I should be logged in as "editor"
And I should be logged in as "administrator"
Then I should be logged in as "author"
Then I should be logged in as "editor@example.com"

Pattern

Then(/^I should be logged in(?: as "([^"]*)")?$/, …)

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