When I close the browser and open it again

Close the browser and open it again: the cookies that live only as long as the browser (the session cookies) go, the ones with an expiry stay, then the app's start page opens. A sign-in with "Remember me" outlives it; one without does not.

            Then I should be logged in as "user"
            Then I should not be logged in

Examples

When I close the browser and open it again
When we close the browser and open it again
And I close the browser and open it again
When I close the browser and open it again
When I close the browser and open it again

Pattern

When(/^(?:I|we) close the browser and open it again$/, …)

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