Logo: Relish

  1. Sign in

Project: Anewstart annual_plan

Checkout - Three Month Promo

  • @vcr
  • @javascript

As a user
I can sign up for a three month promotional package
So I can save money on Dishworld programming

Scenarios
  • @slow_motion
New user must create account before being taken to a Package checkout page
Given
I am on the Hindi Mega package page
And
I click "Continue"
When
I create my account
Then
I should be on the Hindi Mega package three month promo checkout page
A user can select Extra packages during checkout
Given
I am a logged in user
And
I am on the Hindi Mega package three month promo checkout page
When
I click "view extras and the family plan"
Then
I should see "Extras"
And
I should see "Family Plan"
As I user should be required to enter billing information during checkout
Given
I am a logged in user
And
I am on the Hindi Mega package three month promo checkout page
When
I press "Submit Order"
Then
I should see "Please enter a name."
Then
I should see "Please enter a billing address."
Then
I should see "Please enter a billing city."
Then
I should see "Please enter a billing zip code."
Then
I should see "Please enter a valid credit card number."
Then
I should see "Please enter a credit card security code."
A user supplies all billing information in order to checkout
Given
I am a logged in user
And
I am on the Hindi Mega package three month promo checkout page
When
I fill in the billing form field "name_on_card" with "Arnold Schwarzenegger"
And
I fill in the billing form field "cc_number" with "371449635398431"
And
I fill in the billing form field "cvv_code" with "1234"
And
I fill in the billing form field "address1" with "555 5th ave"
And
I fill in the billing form field "address2" with "#4a"
And
I fill in the billing form field "city" with "New York"
And
I select "NY" from the billing form "state" dropdown
And
I fill in the billing form field "zipcode" with "10025"
And
I check "I agree to the Terms of Use and Privacy Policy"
And
I press "Submit Order"
And
wait 5 seconds for ajax to process
Then
I should be on the Order Confirmation page

Last published over 5 years ago by Edan Rosenberg.