When I sign in to the smart home as "admin" with a wrong password

Sign in with a password the account does not have (made at random), through the sign-in page; wait for the page's message. The scenarios about a refused sign-in read it next.

Examples

When I sign in to the smart home as "admin" with a wrong password
When we sign in to the smart home as "admin" with a wrong password
And I sign in to the smart home as "admin" with a wrong password
Given I sign in to the smart home as "admin" with a wrong password
When I sign in to the smart home as "admin" with a wrong password

Pattern

When(/^(?:I |we )?sign in to the smart home as "([^"]*)" with a wrong password$/, …)

Part of @webship-js/home-assistant-steps (github.com/webship/home-assistant-steps), a step pack for Webship-js 2.0.x.