Logo: Relish

  1. Sign in

Project: Email-test-helpers

Click email link

Scenarios
Given
emails are sent with "delivery type"
And
a "Welcome" email sent to "[email protected]" containing:
h1a href="http://first-email/first-link"Welcome/a/h1
pa href="http://first-email/last-link"Confirm/a/p
And
a "Goodbye" email sent to "[email protected]" containing:
h1a href="http://last-email/first-link"Goodbye/a/h1
pa href="http://last-email/last-link"Confirm/a/p
Then
"code" should visit "url"
Examples:
delivery type code url
html click_email_link http://last-email/first-link
html click_email_link('confirm') http://last-email/last-link
html click_email_link('last-link') http://last-email/last-link
html find_email(subject: 'Welcome'); click_email_link http://first-email/first-link
multipart click_email_link http://last-email/first-link
multipart click_email_link('confirm') http://last-email/last-link
multipart click_email_link('last-link') http://last-email/last-link
multipart find_email(subject: 'Welcome'); click_email_link http://first-email/first-link

Last published over 4 years ago by zubin.