When I restart the login

Press "Restart login" on a page of the login flow (the one-time code, a required action): the server forgets the username typed and shows the empty login form.

            Then I should be on the login page
            And I log in as "user" with the login form

Examples

When I restart the login
When we restart the login
And I restart the login
When I restart the login
When I restart the login

Pattern

When(/^(?:I|we) restart the login$/, …)

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