Fill in and submit the Joomla administrator login form (#form-login) with the given username/password, then wait for the page to settle on either the dashboard or the login error message.
Examples
When I log in to the administrator panel as "admin" with password "admin"
When I log into the administrator panel as "admin" with password "admin"
When we log in to the administrator panel as "editor" with password "Secr3t!23"
And I log in to the administrator panel as "admin" with password "wrong-password"
When I log into the administrator panel as "admin" with password "WrongPass1!"
Pattern
When(/^(I |we )*log in(?:to| to) the administrator panel as "([^"]*)?" with password "([^"]*)?"$/, …)
Part of @webship-js/joomla-steps (github.com/webship/joomla-steps), a step pack for Webship-js 2.0.x.