When I choose the new password "Admin123456789!"

Choose the new password on the screen a password reset link opens. A password the system accepts leads to the login form; one it refuses keeps the screen, with the error under the field. A handle of the users registry stands for the password the registry has for it, so a scenario can give an account the password it had.

Examples

When I choose the new password "Admin123456789!"
When we choose the new password "a-long-enough-password"
When I choose the new password "abc"
When I choose the new password of "admin"
And we choose the new password of "editor"

Pattern

When(/^(I |we )*choose the new password (of )?"([^"]*)"$/, …)

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