Open the link of the password reset mail the system sent to an address: the newest such mail in the mailbox of the test site (worldParameters.mailUrl), sent since the reset was asked for. The mail is removed from the mailbox.
Examples
When I open the password reset link sent to "admin@example.com"
When we open the password reset link sent to "editor@example.com"
And I open the password reset link sent to "author@example.com"
When I open the password reset link sent to "author@example.com"
Then I open the password reset link sent to "author@example.com"
Pattern
When(/^(I |we )*open the password reset link sent to "([^"]*)"$/, …)
Part of @webship-js/craft-cms-steps (github.com/webship/craft-cms-steps), a step pack for Webship-js 2.0.x.