BDD file with acceptance criteria for the reached project limit upsell.
Feature: Reached Projects Limit
Scenario Outline: Projects Limit Upsell
Given my current plan label is <planLabel>
And my user role is <userRole>
And I have <prototypeProjectCount> prototypes
Then I will see a upsell with <expectedUpsellId>
Examples:
| planLabel | userRole | prototypeProjectCount | expectedUpsellId |
| FREE | OWNER | 0 | |
| FREE | EDITOR | 0 | |
| FREE | ADMIN | 0 | |
| FREE | INTERNAL_REVIEWER | 0 | |
| FREE | EXTERNAL_REVIEWER | 0 | |
| FREE | OWNER | 1 | dashboard-reached-project-limit |
| FREE | EDITOR | 1 | dashboard-reached-project-limit |
| FREE | ADMIN | 1 | dashboard-reached-project-limit |
| FREE | INTERNAL_REVIEWER | 1 | |
| FREE | EXTERNAL_REVIEWER | 1 | |
| PRO | OWNER | 1 | |
| PRO | EDITOR | 1 | |
| PRO | ADMIN | 1 | |
| PRO | INTERNAL_REVIEWER | 1 | |
| PRO | EXTERNAL_REVIEWER | 1 | |
| TEAM | OWNER | 1 | |
| TEAM | EDITOR | 1 | |
| TEAM | ADMIN | 1 | |
| TEAM | INTERNAL_REVIEWER | 1 | |
| TEAM | EXTERNAL_REVIEWER | 1 | |
| COMPANY | OWNER | 1 | |
| COMPANY | EDITOR | 1 | |
| COMPANY | ADMIN | 1 | |
| COMPANY | INTERNAL_REVIEWER | 1 | |
| COMPANY | EXTERNAL_REVIEWER | 1 | |
| ENTERPRISE | OWNER | 1 | |
| ENTERPRISE | EDITOR | 1 | |
| ENTERPRISE | ADMIN | 1 | |
| ENTERPRISE | INTERNAL_REVIEWER | 1 | |
| ENTERPRISE | EXTERNAL_REVIEWER | 1 | |