Log out through the user menu: the avatar, the "Profile" tab, "Log Out". The forum ends the session and reloads its home page.
And I go to "/login"
Then I should see "Log In"
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/discourse-steps (github.com/webship/discourse-steps), a step pack for Webship-js 2.0.x.