Then the login should be refused with "Incorrect password"

The sign-in form stayed, with the site's message: the account was refused.

Examples

Then the login should be refused with "Incorrect password"
Then the login should be refused with "User not found"
And the login should be refused with "Incorrect password"
But the login should be refused with "User not found"
Given the login should be refused with "Incorrect password"

Pattern

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

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