Assert who is logged in, by a handle of the users registry: the page that names the signed-in account (worldParameters.accountPath, /account on the test app) shows its user name or its address.
Examples
Then I should be logged in as "user"
Then we should be logged in as "admin"
And I should be logged in as "developer"
Then I should be logged in as "admin"
And we should be logged in as "user"
Pattern
Then(/^(I |we )*should be logged in as "([^"]*)"$/, …)
Part of @webship-js/codeigniter-steps (github.com/webship/codeigniter-steps), a step pack for Webship-js 2.0.x.