Send the login form with an email address and a password, whatever comes of it: a refusal is read by the next step. Use it for the refusals; an account of the users registry logs in with "I log in as ... with the login form".
Examples
When I log in with the email "nobody@example.com" and the password "Wrong-password-1"
When I log in with the email "editor@example.com" and the password "Not-the-password-1"
When I log in with the email "not-an-address" and the password "Wrong-password-1"
And I log in with the email "nobody@example.org" and the password "Wrong-password-2"
When I log in with the email "" and the password ""
Pattern
When(/^I log in with the email "([^"]*)" and the password "([^"]*)"$/, …)
Part of @webship-js/strapi-steps (github.com/webship/strapi-steps), a step pack for Webship-js 2.0.x.