Then the login should be refused with "Username or password incorrect"

The login form came back with the site's message: the account was refused.

Examples

Then the login should be refused with "Username or password incorrect"
Then the login should be refused with "incorrect"
And the login should be refused with "Username or password incorrect"
But the login should be refused with "incorrect"
Given the login should be refused with "Username or password incorrect"

Pattern

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

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