Send the administration's login form with a user name and a password. The step does not expect the login to work: assert the outcome with the next step. A refused login of the administration is not recorded by the shop.
Examples
When I log in to the administration with the username "administrator" and the password "wrong"
When we log in to the administration with the username "nobody" and the password "Wrong-password-1"
And I log in to the administration with the username "editor" and the password "not-the-password"
When I log in to the administration with the username "administrator" and the password "dD.123123ddd"
When I log in to the administration with the username "" and the password ""
Pattern
When(/^(?:I|we) log in to the administration with the username "([^"]*)" and the password "([^"]*)"$/, …)
Part of @webship-js/opencart-steps (github.com/webship/opencart-steps), a step pack for Webship-js 2.0.x.