Feature: Weekly reminder emails to encourage account creation for LE Registry

Background:
Given a user has registered a LeRegistry bag as a guest
And the user has verified their email
And no account exists with that email

Scenario: Enroll guest user into reminder campaign
When the system enrolls the user after email verification
Then the user is added to the reminder campaign
And the first reminder is scheduled 7 days later
And the number of sent reminders is set to 0

Admin can remove a user from the campaign anytime

Email template:

EN:https://us12.admin.mailchimp.com/templates/edit?id=10086904

DE: https://us12.admin.mailchimp.com/templates/edit?id=10086906
FR: https://us12.admin.mailchimp.com/templates/edit?id=10086905

Scenario: Send weekly reminders
Given the user is active in the reminder campaign
And the number of sent reminders is less than 4
When 7 days have passed since the last scheduled reminder
Then a reminder email is sent
And the number of sent reminders increases by 1
And the next reminder is scheduled 7 days later
And if the number of sent reminders reaches 4
Then the campaign status becomes completed

Scenario: Stop campaign when account is created
Given the user is active in the reminder campaign
When the user creates an account with the same email
Then the campaign status becomes completed
And all future scheduled reminders are canceled

Scenario: Stop campaign when user unsubscribes
Given the user is active in the reminder campaign
When the user clicks the unsubscribe link in a reminder email
Then the user is unsubscribed
And no further reminders are sent

Scenario: Dedupe multiple guest registrations
Given the user submits multiple guest registrations with the same email
When the system processes the registrations
Then only one active reminder enrollment exists for that email

Comments

Leave a Reply