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

Log in to the admin as an account of the users registry, by its handle. An account that logged in earlier in the run takes its session over; else the login form is filled in, and the session is kept for the next scenarios.

Examples

Given I am a logged in user with the "editor" user
Given I am a logged in user with the "administrator" user
Given I am a logged in user with the "author" user
And I am a logged in user with the "editor" user
Given I am a logged in user with the "administrator" user

Pattern

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

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