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

Log in as an account of the users registry (worldParameters.users) and land where the site sends a logged-in account (its default app): an account that logged in earlier in the run gets its session back; otherwise the login form is filled in and sent.

Examples

Given I am a logged in user with the "user" user
Given I am a logged in user with the "editor" user
Given I am a logged in user with the "administrator" user
Given we are a logged in user with the "user" user
When I am a logged in user with the "editor" user

Pattern

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

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