Then I should see the sign-in error "Incorrect username or password."

Assert the sign-in form reports an error with the given text, as after a wrong password.

Examples

Then I should see the sign-in error "Incorrect username or password."
Then I should see the sign-in error "Incorrect username or password"
Then we should see the sign-in error "Incorrect username"
And I should see the sign-in error "Incorrect username or password."
Then I should not see the sign-in error "Incorrect username or password."

Pattern

Then(/^(I |we )*should( not)* see the sign-in error "([^"]*)"$/, …)

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