Make the browser a visitor of the app and of the server: its cookies are dropped (the sessions on the server live on for a later scenario), then the app's start page opens.
And I go to the login page
Then I should not be logged in
Examples
Given I am not logged in
Given we are not logged in
When I am not logged in
Given I am not logged in
Given I am not logged in
Pattern
Given(/^(?:I am|we are) not logged in$/, …)
Part of @webship-js/keycloak-steps (github.com/webship/keycloak-steps), a step pack for Webship-js 2.0.x.