Then I should be signed in as a member

Whether the visitor is signed in as a member, asked from the site with the session of the browser. With an address, the signed-in member is compared with it.

Examples

Then I should be signed in as a member
Then I should not be signed in as a member
Then I should be signed in as the member "member@example.com"
And we should not be signed in as a member
And I should be signed in as the member "vera@example.com"

Pattern

Then(/^(?:I |we )?should( not)? be signed in as (?:a member|the member "([^"]*)")$/, …)

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