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

Open the link of an email the site sent (the first link to the site in it) in the scenario's browser: a password reset's link opens its page, an invitation's link its registration form.

Examples

When I open the link of the email with the subject "Password reset" to "editor"
When I open the link of the email with the subject "has invited you" to "webship-test-invite@example.com"
And I open the link of the email with the subject "Password reset" to "viewer"
When we open the link of the email with the subject "Password reset" to "editor"
When I open the link of the email with the subject "Design team" to "webship-test-join@example.com"

Pattern

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

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