Logo: Relish

  1. Sign in

Project: Nameking-jobs

Afilias Expiration Email Reminders

As a registrant
In order to take appropriate actions on my owned domains
I would like to get notifications about expiration status

Background
Given
the following expiring domains
name tld expires
willexp60 info 60 days from now
willexp30 info 30 days from now
nearexp7 info 7 days from now
nearexp6 info 6 days from now
nearexp5 info 5 days from now
nearexp4 info 4 days from now
nearexp3 info 3 days from now
nearexp2 info 2 days from now
nearexp1 info 1 day from now
exptoday info today
expired7 info 7 days ago
expired14 info 14 days ago
expired21 info 21 days ago
expired28 info 28 days ago
Scenarios
  • @afilias
  • @expiration
  • @afilias
  • @reminders
  • @email
Email Jobs are generated when domains expire
When
jobs are created
Then
"willexp60.info" should have a "will_expire_reminder" job
And
"willexp30.info" should have a "will_expire_reminder" job
And
"nearexp7.info" should have a "near_expiration_reminder" job
And
"nearexp6.info" should have a "near_expiration_reminder" job
And
"nearexp5.info" should have a "near_expiration_reminder" job
And
"nearexp4.info" should have a "near_expiration_reminder" job
And
"nearexp3.info" should have a "near_expiration_reminder" job
And
"nearexp2.info" should have a "near_expiration_reminder" job
And
"nearexp1.info" should have a "near_expiration_reminder" job
And
"exptoday.info" should have an "expiration" job
And
"expired7.info" should have a "has_expired_reminder" job
And
"expired14.info" should have a "has_expired_reminder" job
And
"expired21.info" should have a "has_expired_reminder" job
And
"expired28.info" should have a "has_expired_reminder" job
  • @afilias
  • @expiration
  • @reminders
  • @email
  • @domain_event
Expiration Jobs send out an email and log activity to the domain
Given
an "expiration" job for "exptoday.info"
When
the jobs are run
Then
"exptoday.info" contact should be sent an "has_expired" email
And
"exptoday.info" should have a "HAS_EXPIRED" domain event
  • @afilias
  • @expiration
  • @reminders
  • @email
  • @domain_event
Near Expiration Reminder Jobs send out emails and log activity on the domains
Given
a "near_expiration_reminder" job for "nearexp7.info"
When
the jobs are run
Then
"nearexp7.info" contact should be sent a "near_expiration" email
And
"nearexp7.info" should have a "NEAR_EXPIRATION" domain event
  • @afilias
  • @expiration
  • @reminders
  • @email
  • @domain_event
Will Expire Reminder Jobs send out emails and log activity on the domains
Given
a "will_expire_reminder" job for "willexp60.info"
When
the jobs are run
Then
"willexp60.info" contact should be sent a "will_expire" email
And
"willexp60.info" should have a "WILL_EXPIRE" domain event

Last published about 5 years ago by Jack Bishop.