"Get rid of credits & promotional_popup_deal" Specs
Phase I - ENG specs
Feature: User no longer gets $5 in credits on "Rewards" step
Given a user edits a new app
And the user has no active pro_subscriptions for the corresponding app_type
When the user clicks "Add To Site"
And follows the steps to "Rewards"
Then the user should not see the $5 credit screen (RewardsProgram type="credit")
And the user should not get $5 in credits assigned
And the user should instead get 50% off any annual POWr upgrade (RewardsProgram type="discount")
Feature: Paying user gets "Recommended" step instead of "Rewards"
Given a user edits a new app
And the user has an active pro_subscriptions for the corresponding app_type
When the user clicks "Add To Site"
Then the user should see "Recommended" instead of "Rewards"
Feature: User no longer sees promotional_popup_deal
Given a user was created less than 14 days ago
And the user has no active pro_subscriptions
And the user has no active promos
And the user has no active discounts
When the user clicks opens standalone for any app
Then the user should no longer fall into the promotional_popup_deal A/B
(Note: Please remove all code related to this A/B test)
Feature: "Referral program" is no longer promoted in powr.io footer
Given a user lands on any page on powr.io that displays common_footer
When the user scrolls to the footer
Then they should no longer see the "Referral Program" advertised
Feature: "Referral program" is no longer promoted in My Plugins dashboard
Given a user logs into their account
When they are viewing the My Plugins page
They should no longer see the "Referral Program" promoted in the sidebar
Feature: User can still redeem active credits in checkout
Given a user has active credits assigned to them
When the user purchases an upgrade
Then the credits still show in the checkout screen
And the credits are applied to the total
Feature: User with active credits can still see their credit amount in "My Subscriptions"
Given a user has active credits assigned to them
When the user visits the "My Subscriptions" tab in their account
Then the user can still see the current credits amount
Feature: Support can still assign credits to a user in Tech Support Helper
Given an admin opens https://www.powr.io/admin/tech_support_helper
When the admin clicks "Assign Credit" and enters a valid credit amount
Then the user should still get that credit amount assigned to their account
And an admin note is automatically added to the "Notes" tab