When I ask for a password reset for "admin"

Ask for a password reset on the control panel login form, as a person does: "Forgot password?", the username or the email address (a handle of the users registry stands for its username), "Reset password". The form answers with the same dialog whether the account exists or not.

Examples

When I ask for a password reset for "admin"
When we ask for a password reset for "editor"
When I ask for a password reset for "admin@example.com"
And I ask for a password reset for "nobody-with-that-name"
Given I ask for a password reset for "editor@example.com"

Pattern

When(/^(I |we )*ask for a password reset for "([^"]*)"$/, …)

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