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

The login was refused with the site's message.

Examples

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

Pattern

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

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