Assert the login was refused with Joomla's "Username and password do not match" message on the site.
Examples
Then I should see an invalid login error on the site
Then we should see an invalid login error on the site
And I should not see an invalid login error on the site
Then should see an invalid login error on the site
And we should not see an invalid login error on the site
Pattern
Then(/^(I |we )*should( not)* see an invalid login error on the site$/, …)
Part of @webship-js/joomla-steps (github.com/webship/joomla-steps), a step pack for Webship-js 2.0.x.