Then I should be logged in

Assert that someone is, or nobody is, logged in to the board (the top of the page shows a user name, or "Login").

Examples

Then I should be logged in
Then I should not be logged in
And we should be logged in
And we should not be logged in
Then I should not be logged in

Pattern

Then(/^(I |we )*should( not)* be logged in$/, …)

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