Logo: Relish

  1. Sign in

Project: Nameking-jobs

Generate domains at all the different states

As a tester
In order to execute tests on all domain types
I would like to be able to generate domains in any state

Background Setup one account
Given
there is 1 account in the system
Scenarios
  • @machinist
  • @domain_states
Generate mad domains
Given
the following domains
state
active
will_expire
near_expiration
cancelled
locked
expiry-hold
transferred
expired
Then
there should be 1 "will_expire" domain
And
there should be 1 "near_expiration" domain
And
there should be 1 "active" domain
And
there should be 1 "cancelled" domain
And
there should be 1 "locked" domain
And
there should be 1 "expiry_hold" domain
And
there should be 1 "transferred" domain
And
there should be 1 "expired" domain
  • @domain_states
Change states on Domains from available to active
Given
1 "available" domain
When
I "activate" the domain
Then
there should be 1 "active" domain
  • @domain_states
Change domain from active to locked
Given
1 "active" domain
When
I "lock" the domain
Then
there should be 1 "locked" domain
  • @domain_states
Change domain from locked to active
Given
1 "locked" domain
When
I "unlock" the domain
Then
there should be 1 "active" domain
  • @domain_states
Change domain from active to cancelled
Given
1 "active" domain
When
I "cancel" the domain
Then
there should be 1 "cancelled" domain
  • @domain_states
Change domain from active to expiry-hold
Given
1 "active" domain
When
I "expire_hold" the domain
Then
there should be 1 "expiry_hold" domain
  • @domain_states
Change domain from expiry-hold to expired
Given
1 "expiry-hold" domain
When
I "expire" the domain
Then
there should be 1 "expired" domain
  • @domain_states
Change domain from active to transferred
Given
1 "active" domain
When
I "transfer" the domain
Then
there should be 1 "transferred" domain

Last published about 5 years ago by Jack Bishop.