Then I should be logged in

Whether anybody is signed in: the app's session address answers with a user (or null). With "not", nobody is.

Examples

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

Pattern

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

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