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. To end a session the way a user does, use "I log out".

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/woocommerce-steps (github.com/webship/woocommerce-steps), a step pack for Webship-js 2.0.x.