Logo: Relish

  1. Sign in

Project: Nameking-jobs

Afilias Domain Expirations

As a registrant
In order to manage my domain expirations
I would like nameking to automatically handle expirations and notifications

Background Setup domains
Given
the following domains
name tld state internal
owned info active true
notowned info active false
cancelled info cancelled true
transferred info transferred true
locked info locked true
willexpire info will_expire true
nearexpire info near_expiration true
auction info ready_for_auction true
Scenarios
  • @expiration
  • @afilias
Only active domains create expiration jobs
When
all the domains have expired
And
jobs are created
Then
"owned.info" should have an "expiration" job
And
"notowned.info" should have an "expiration" job
And
"transferred.info" should not have an "expiration" job
And
"locked.info" should not have an "expiration" job
And
"cancelled.info" should not have an "expiration" job
  • @expiration
  • @afilias
  • @auction
Only domains that are owned by Oversee are auctioned 5 days after expiration
When
all the domains have been expired for 5 days
And
jobs are created
Then
"owned.info" should have an "auction" job
And
"notowned.info" should not have an "auction" job
And
"transferred.info" should not have an "auction" job
And
"locked.info" should not have an "auction" job
And
"cancelled.info" should not have an "auction" job
  • @expiration
  • @afilias
  • @auction
  • @domain_event
Auctioned domains transferred properly
Given
the following domain exists at the registry
name tld
cuketest info
And
an "auction" job for "cuketest.info"
When
the jobs are run
Then
"cuketest.info" should be transferred to the auction account
And
"cuketest.info" should have an "auction" domain event
  • @afilias_expiration
  • @afilias
  • @epp
  • @email
  • @domain_event
Expiration jobs fully handle expiring the domain
Given
the following domain exists at the registry
name tld
cuketest info
And
an "expiration" job for "cuketest.info"
When
the jobs are run
Then
"cuketest.info" contact should be sent an "expiration" email
And
"cuketest.info" should be expired at the registry
And
"cuketest.info" should have an "EXPIRED" domain event
And
"cuketest.info" should not be accessible through browser DNS
  • @production
  • @expiration
  • @rgp
  • @afilias
  • @epp
  • @email
  • @domain_event
Domain Expired for 30 days is changed to pending delete
Given
the following domain exists at the registry
name tld
cuketest info
When
"cuketest.info" has been expired for 30 days
Then
the registry should have a status of "pendingDelete" for "cuketest.info"
  • @production
  • @expiration
  • @rgp
  • @afilias
  • @epp
  • @email
  • @domain_event
Domain Expired for 35 days is deleted from the registry
Given
the following domain exists at the registry
name tld
cuketest info
And
"cuketest.info" has been expired for 35 days
Then
the registry should not have "cuketest.info"

Last published over 4 years ago by Jack Bishop.