Assert the login screen is, or is not, showing an authentication error, optionally containing a text. Matches the .alert-danger message the login controller renders on invalid credentials.
Examples
Then I should see an Odoo login error
And I should see a sign in error
Then we should see a login error "Wrong login/password"
And should not see a login error
Then I should see an authentication error message
Pattern
Then(/^(I |we )*should( not)* see an? (?:Odoo )?(?:login|sign[- ]?in|authentication) error(?: message)?(?: "([^"]*)")?$/, …)
Part of @webship-js/odoo-steps (github.com/webship/odoo-steps), a step pack for Webship-js 2.0.x.