Logo: Relish

  1. Sign in

Project: Console

Account Billing Coupon

  • @paas

Test the coupon functionality on Billing & Plan page.

Background
Given
I sign in to WeDeploy as a test user
Scenarios
  • @smoke
Credit card info is not needed if coupon covers cost of upgrade
Given
my current user plan is "Free"
And
I go to my account "Billing & Plan" page
And
I should see in the credit card field
••••  ••••  ••••  ••••
When
I enter a valid coupon code
And
I select the "Basic" plan
And
I click the "Upgrade Your Plan" button
Then
I should see the notification
Your plan was updated successfully.
And
I should see the "Basic" plan is active
  • @smoke
  • @teardown_tester
Must provide payment info if coupon does not cover cost of upgrade
Given
my current user plan is "Basic"
When
I go to my account "Billing & Plan" page
When
I enter a valid coupon code
And
I select the "Premium" plan
And
I click the "Upgrade Your Plan" button
Then
I should see the error message
Your plan could not be upgraded. No payment information was provided.
And
I should see the "Basic" plan is active
When
I click the Update Payment Information button
And
I enter valid credit card information
And
I select the "Premium" plan
And
I click the "Upgrade Your Plan" button
Then
I should see the notification
Your plan was updated successfully.
And
I should see the "Premium" plan is active

Last published over 1 year ago by Christie Yoo.