BDD file with acceptance criteria for the switch to yearly upsell.
Feature: Switch to Yearly
Scenario Outline: Switch To Yearly Upsell
Given my current plan label is <planLabel>
And my user role is <userRole>
And my billing is <billingCycle>
And I closed <previousClosedUpsellsIds> upsells before
Then I will see a upsell with <expectedUpsellId>
Examples:
| planLabel | userRole | billingCycle | expectedUpsellId | previousClosedUpsellsIds |
| FREE | OWNER | monthly | | |
| FREE | EDITOR | monthly | | |
| FREE | ADMIN | monthly | | |
| FREE | INTERNAL_REVIEWER | monthly | | |
| FREE | EXTERNAL_REVIEWER | monthly | | |
| FREE | OWNER | yearly | | |
| FREE | EDITOR | yearly | | |
| FREE | ADMIN | yearly | | |
| FREE | INTERNAL_REVIEWER | yearly | | |
| FREE | EXTERNAL_REVIEWER | yearly | | |
| PRO | OWNER | monthly | dashboard-yearly | |
| PRO | EDITOR | monthly | | |
| PRO | ADMIN | monthly | dashboard-yearly | |
| PRO | INTERNAL_REVIEWER | monthly | | |
| PRO | EXTERNAL_REVIEWER | monthly | | |
| PRO | OWNER | yearly | | |
| PRO | EDITOR | yearly | | |
| PRO | ADMIN | yearly | | |
| PRO | INTERNAL_REVIEWER | yearly | | |
| PRO | EXTERNAL_REVIEWER | yearly | | |
| TEAM | OWNER | monthly | dashboard-yearly-special-team | |
| TEAM | EDITOR | monthly | | |
| TEAM | ADMIN | monthly | dashboard-yearly-special-team | |
| TEAM | INTERNAL_REVIEWER | monthly | | |
| TEAM | EXTERNAL_REVIEWER | monthly | | |
| TEAM | OWNER | yearly | | |
| TEAM | EDITOR | yearly | | |
| TEAM | ADMIN | yearly | | |
| TEAM | INTERNAL_REVIEWER | yearly | | |
| TEAM | EXTERNAL_REVIEWER | yearly | | |
| COMPANY | OWNER | monthly | dashboard-yearly | |
| COMPANY | EDITOR | monthly | | |
| COMPANY | ADMIN | monthly | dashboard-yearly | |
| COMPANY | INTERNAL_REVIEWER | monthly | | |
| COMPANY | EXTERNAL_REVIEWER | monthly | | |
| COMPANY | OWNER | yearly | | |
| COMPANY | EDITOR | yearly | | |
| COMPANY | ADMIN | yearly | | |
| COMPANY | INTERNAL_REVIEWER | yearly | | |
| COMPANY | EXTERNAL_REVIEWER | yearly | | |
| ENTERPRISE | OWNER | monthly | | |
| ENTERPRISE | EDITOR | monthly | | |
| ENTERPRISE | ADMIN | monthly | | |
| ENTERPRISE | INTERNAL_REVIEWER | monthly | | |
| ENTERPRISE | EXTERNAL_REVIEWER | monthly | | |
| ENTERPRISE | OWNER | yearly | | |
| ENTERPRISE | EDITOR | yearly | | |
| ENTERPRISE | ADMIN | yearly | | |
| ENTERPRISE | INTERNAL_REVIEWER | yearly | | |
| ENTERPRISE | EXTERNAL_REVIEWER | yearly | | |