Assert who the admin greets in its user tools ("Welcome, editor."): a handle of the users registry or a user name. The admin greets an account by its first name when it has one, else by its user name.
Examples
Then I should be logged in as "editor"
Then we should be logged in as "administrator"
And I should be logged in as "viewer"
Then I should be logged in as "editor"
And we should be logged in as "viewer"
Pattern
Then(/^(I |we )*should be logged in as "([^"]*)"$/, …)
Part of @webship-js/django-steps (github.com/webship/django-steps), a step pack for Webship-js 2.0.x.