When I log in with the email "editor@example.com" and the password "Wrong-password-1"

Fill in the login form with an address and a password as they are, and send it when it can be sent: to see a login refused (a malformed address keeps the button disabled). A suite logs in by a handle; a password here is only ever a wrong one.

Examples

When I log in with the email "editor@example.com" and the password "Wrong-password-1"
When we log in with the email "nobody@example.com" and the password "Wrong-password-2"
And I log in with the email "not-an-address" and the password "Wrong-password-3"
When I log in with the email address "owner@example.com" and the password "Wrong-password-4"
When I log in with the email "editor@example.com" and the password "x"

Pattern

When(/^(I |we )*log in with the (?:email address|email) "([^"]*)" and the password "([^"]*)"$/, …)

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