Given I am not logged in

End any authenticated session and land on the login screen as a visitor: cookies and web storage are cleared, the login page is opened and the core login form is confirmed. Use it at the start of a scenario that must run anonymously after an earlier one logged in, or mid-scenario to check what a visitor gets at a path an authenticated user just saw.

Examples

Given I am not logged in
Given we are not logged in
And I am not logged in
Given not logged in
But I am not logged in

Pattern

Given(/^(I am |we are )*not logged in$/, …)

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