Let the session of the browser end, as an expired session does: the browser drops the session cookie of the app and keeps its other cookies, such as the one of a remembered login. Reload or open a page next, and assert who is still signed in. The session cookie is the one named by worldParameters.sessionCookie, else the cookie of the site whose name says "session".
Examples
When my session expires
When our session expires
And my session expires
Given my session expires
When the session expires
Pattern
When(/^(my|our|the) session expires$/, …)
Part of @webship-js/codeigniter-steps (github.com/webship/codeigniter-steps), a step pack for Webship-js 2.0.x.