Submit the admin sign-in form with a username and a password, for the scenarios that check a refused sign-in. Nothing is asserted: follow it with a message or a session assertion.
Examples
When I log in to the admin panel with the username "admin" and the password "wrong-password"
When I log in to the admin panel with the username "nobody" and the password "Secret123456789!"
And I log in to the admin panel with the username "sales" and the password "wrong"
When we log in to the admin panel with the username "admin" and the password "wrong-password"
When log in to the admin panel with the username "admin" and the password ""
Pattern
When(/^(I |we )*log in to the admin panel with the username "([^"]*)" and the password "([^"]*)"$/, …)
Part of @webship-js/magento-steps (github.com/webship/magento-steps), a step pack for Webship-js 2.0.x.