Assert the administrator login form rejected (or did not reject) the credentials with Joomla's standard "Username and password do not match" message.
Examples
Then I should see an invalid login error in the administrator panel
And I should see an invalid login error in the admin panel
Then we should see an invalid login error in the administrator panel
And should not see an invalid login error in the admin panel
Then I should see an invalid login error in the admin panel
Pattern
Then(/^(I |we )*should( not)* see an invalid login error in the admin(?:istrator)* panel$/, …)
Part of @webship-js/joomla-steps (github.com/webship/joomla-steps), a step pack for Webship-js 2.0.x.