When I open the link of the email with the subject "Password reset" to "editor"

Open in the browser the link of the newest mail with a subject to an account or an address, since the scenario began: its first link to the site, or the one that holds a part of an address ("/password_reset/", "/edit/").

Examples

When I open the link of the email with the subject "Password reset" to "editor"
When I open the "/edit/" link of the email with the subject "has been rejected" to "editor"
And we open the link of the email with the subject "Password reset" to "moderator"
When I open the "/password_reset/" link of the email with the subject "Password reset" to "editor"
When we open the "/edit/" link of the email with the subject "has been approved" to "editor"

Pattern

When(/^(?:I|we) open the (?:"([^"]*)" )?link of the email with the subject "([^"]*)" to "([^"]*)"$/, …)

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