When I log out

Log out of the server, as its own logout page does it: the realm's logout address, "Logout" on its question "Do you want to log out?", then "You are logged out". It ends the server's session, so every app that signed in through it is signed out at its next check.

            Then I should not be logged in
            And I go to the login page

Examples

When I log out
When we log out
And I log out
When I log out
When I log out

Pattern

When(/^(?:I|we) log out$/, …)

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