Go to the Logout account page. For a signed-in account the default account pages answer a GET with a page whose button ("Click here to Logout") logs out; nothing ends until it is pressed.
Examples
When I go to the logout page
When we go to the logout page
And I go to the logout page
When I go to the logout page
Then I go to the logout page
Pattern
When(/^(I |we )*go to the logout page$/, …)
Part of @webship-js/aspnet-core-steps (github.com/webship/aspnet-core-steps), a step pack for Webship-js 2.0.x.