Sign out, the way the site does it (the person's menu, their picture at the top right, then Logout), and wait until the session is gone.
Examples
When I log out
When we log out
And I log out
And we log out
Then I log out
Pattern
When(/^(I |we )*log out$/, …)
Part of @webship-js/taiga-steps (github.com/webship/taiga-steps), a step pack for Webship-js 2.0.x.