When I log in with the username "user" and the password "Wrong-password-1"

Fill the login form in with a username (or email address) and a password as given, and send it: for the refusals. A handle of the users registry stands for its username.

            Then the login should be refused with "Wrong login or password."

Examples

When I log in with the username "user" and the password "Wrong-password-1"
When I log in with the username "nobody" and the password "Wrong-password-1"
When I log in with the username "user@example.com" and the password "Wrong-password-1"
When we log in with the username "editor" and the password "Wrong-password-1"
When I log in with the username "user" and the password "Wrong-password-1"

Pattern

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

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