Then I should be logged in to the back office

Assert that an employee session is open (the header shows the employee menu with "Sign out") or that it is not (the sign-in form is shown instead).

Examples

Then I should be logged in to the back office
Then I should not be logged in to the back office
Then we should be logged in to the back office
And I should not be logged in to the back office
Then should be logged in to the back office

Pattern

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

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