Logo: Relish

  1. Sign in

Project: Console

Account Billing

  • @paas
Background
Given
I sign in to WeDeploy as a test user
Scenarios
  • @smoke
Cannot use invalid credit card when updating payment info
When
I go to my account "Billing & Plan" page
And
I click the Update Payment Information button
And
I enter invalid credit card information
Then
I should see the payment validation message:
This card was declined.
When
I close the payment popup
Then
I should see in the credit card field
••••  ••••  ••••  ••••
  • @smoke
Update payment information
When
I go to my account "Billing & Plan" page
Then
I should see the text in the Payment Information section
No registered payment information. By registering payment information in advance, WeDeploy can provide you a faster subscription experience.
When
I click the Update Payment Information button
And
I enter valid credit card information
Then
I should see in the credit card field
••••  ••••  ••••  4242
And
I should not see the text in the Payment Information section
No registered payment information. By registering payment information in advance, WeDeploy can provide you a faster subscription experience.
  • @smoke
Upgrade user plan using saved payment information
Given
my current user plan is "Basic"
And
I should see the current plan in the account menu as "Basic – $12/month"
When
I go to my account "Billing & Plan" page
And
I click the Update Payment Information button
And
I enter valid credit card information
And
I select the "Standard" 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 current plan in the account menu as "Standard – $49/month"
And
I should see the "Standard" plan is active
And
"Free" plan card should be disabled
And
"Basic" plan card should be disabled
And
I should see in the Invoice History:
Date Description Service Period Total
{today} Standard {7 day date range} USD 0.00
{today} Free {1 month date range} USD 0.00
When
I go to my account "Usage" page
Then
I should see the following quotas:
Transfer 0% 0 Bytes of 20 GB
Memory 0% 0 Bytes of 6 GB
CPU 0% 0 of 4 core processors
Instances 0% 0 of 10 instances
Custom Domains 0% 0 of 10
Collaborators 0% 0 of 10
Environments 0% 0 of 10 environments
Scaling Full Scaling Instances Capability
Support No Dedicated Technical Support
  • @smoke
  • @teardown_users
Upgrade user plan without any saved payment information
Given
I create a user with name "Sunny Tester" and email "[email protected]"
And
I sign in to WeDeploy as "[email protected]"
When
I go to my account "Billing & Plan" page
And
I select the "Premium" plan
And
I click the "Upgrade Your Plan" button
Then
I should see the payment popup
When
I enter valid credit card information
Then
I should see the current plan in the account menu as "Premium – $149/month"
And
I should see the "Premium" plan is active
And
"Free" plan card should be disabled
And
"Basic" plan card should be disabled
And
"Standard" plan card should be disabled
When
I go to my account "Usage" page
Then
I should see the following quotas:
Transfer 0% 0 Bytes of 120 GB
Memory 0% 0 Bytes of 10 GB
CPU 0% 0 of 8 core processors
Instances 0% 0 of 20 instances
Custom Domains 0% 0 of 25
Collaborators 0% 0 of 20
Environments 0% 0 of 20 environments
Scaling Full Scaling Instances Capability
Support No Dedicated Technical Support
  • @smoke
  • @teardown_users
  • @teardown_tester
Cannot use free trial more than once for same plan
Given
I create a user with name "Lynn Tester" and email "[email protected]"
And
I sign in to WeDeploy as "[email protected]"
When
I upgrade to "Standard" plan
Then
I should not see the 7-days free trial offer for "Standard" plan
When
I upgrade to "Premium" plan
Then
I should not see the 7-days free trial offer for "Standard" plan
And
I should not see the 7-days free trial offer for "Premium" plan

Last published 10 months ago by Christie Yoo.