Let the session end, as the app sees it once its sign-in cookie is no good any more (its time is up, or the keys that protect it changed): the browser keeps a sign-in cookie, but one the app never issued. Open a page afterwards to see what the app makes of it.
Examples
When my session expires
When our session expires
And my session expires
When my session expires
Then our session expires
Pattern
When(/^(?:my|our) session expires$/, …)
Part of @webship-js/aspnet-core-steps (github.com/webship/aspnet-core-steps), a step pack for Webship-js 2.0.x.