Given I am a logged in user with the "member" user

Log in as an account of the users registry (worldParameters.users), then open the forum's home page. An account that logged in earlier in the run gets its session back; otherwise it logs in through the forum's own session endpoint, the request the login form sends.

Examples

Given I am a logged in user with the "member" user
Given I am a logged in user with the "moderator" user
Given I am a logged in user with the "administrator" user
Given I am a logged in user with the "newuser" user
Given we are a logged in user with the "member" user

Pattern

Given(/^(?:I am|we are) a logged in user with the "([^"]*)" user$/, …)

Part of @webship-js/discourse-steps (github.com/webship/discourse-steps), a step pack for Webship-js 2.0.x.