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

The login form stayed, with the site's message: the account was refused.

Examples

Then the login should be refused with "Wrong username or password"
Then the login should be refused with "Wrong username"
And the login should be refused with "Wrong username or password"
But the login should be refused with "Wrong username"
Given the login should be refused with "Wrong username or password"

Pattern

Then(/^the login should be refused with "([^"]*)"$/, …)

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