BDD file with acceptance criteria for the sidebar upsell.
Feature: Sidebar upsells
Scenario Outline: Sidebar upsells
Given my current plan label is <planLabel>
And my user role is <userRole>
And I own <prototypeProjectsOwnedCount> prototypes
And I have <prototypeProjectCount> prototypes
Then I will see an upsell for each <upsellIds>
Examples:
| planLabel | userRole | prototypeProjectsOwnedCount | prototypeProjectCount | upsellIds |
| FREE | OWNER | 0 | 0 | dashboard-first-project |
| FREE | EDITOR | 0 | 0 | dashboard-first-project |
| FREE | INTERNAL_REVIEWER | 0 | 0 | |
| FREE | EXTERNAL_REVIEWER | 0 | 0 | |
| FREE | OWNER | 1 | 1 | |
| FREE | EDITOR | 1 | 1 | |
| FREE | INTERNAL_REVIEWER | 1 | 1 | |
| FREE | EXTERNAL_REVIEWER | 1 | 1 | |
| FREE | OWNER | 0 | 1 | |
| FREE | EDITOR | 0 | 1 | |
| FREE | INTERNAL_REVIEWER | 0 | 1 | |
| FREE | EXTERNAL_REVIEWER | 0 | 1 | |
| PRO | OWNER | 0 | 0 | dashboard-first-project |
| PRO | EDITOR | 0 | 0 | dashboard-first-project |
| PRO | INTERNAL_REVIEWER | 0 | 0 | |
| PRO | EXTERNAL_REVIEWER | 0 | 0 | |
| PRO | OWNER | 0 | 1 | dashboard-first-project |
| PRO | EDITOR | 0 | 1 | dashboard-first-project |
| PRO | INTERNAL_REVIEWER | 0 | 1 | |
| PRO | EXTERNAL_REVIEWER | 0 | 1 | |
| PRO | OWNER | 1 | 1 | |
| PRO | EDITOR | 1 | 1 | |
| PRO | INTERNAL_REVIEWER | 1 | 1 | |
| PRO | EXTERNAL_REVIEWER | 1 | 1 | |
| TEAM | OWNER | 0 | 0 | dashboard-first-project |
| TEAM | EDITOR | 0 | 0 | dashboard-first-project |
| TEAM | INTERNAL_REVIEWER | 0 | 0 | |
| TEAM | EXTERNAL_REVIEWER | 0 | 0 | |
| TEAM | OWNER | 0 | 1 | dashboard-first-project |
| TEAM | EDITOR | 0 | 1 | dashboard-first-project |
| TEAM | INTERNAL_REVIEWER | 0 | 1 | |
| TEAM | EXTERNAL_REVIEWER | 0 | 1 | |
| TEAM | OWNER | 1 | 1 | |
| TEAM | EDITOR | 1 | 1 | |
| TEAM | INTERNAL_REVIEWER | 1 | 1 | |
| TEAM | EXTERNAL_REVIEWER | 1 | 1 | |
| COMPANY | OWNER | 0 | 0 | dashboard-first-project |
| COMPANY | EDITOR | 0 | 0 | dashboard-first-project |
| COMPANY | INTERNAL_REVIEWER | 0 | 0 | |
| COMPANY | EXTERNAL_REVIEWER | 0 | 0 | |
| COMPANY | OWNER | 0 | 1 | dashboard-first-project |
| COMPANY | EDITOR | 0 | 1 | dashboard-first-project |
| COMPANY | INTERNAL_REVIEWER | 0 | 1 | |
| COMPANY | EXTERNAL_REVIEWER | 0 | 1 | |
| COMPANY | OWNER | 1 | 1 | |
| COMPANY | EDITOR | 1 | 1 | |
| COMPANY | INTERNAL_REVIEWER | 1 | 1 | |
| COMPANY | EXTERNAL_REVIEWER | 1 | 1 | |
| ENTERPRISE | OWNER | 0 | 0 | dashboard-first-project |
| ENTERPRISE | EDITOR | 0 | 0 | dashboard-first-project |
| ENTERPRISE | INTERNAL_REVIEWER | 0 | 0 | |
| ENTERPRISE | EXTERNAL_REVIEWER | 0 | 0 | |
| ENTERPRISE | OWNER | 0 | 1 | dashboard-first-project |
| ENTERPRISE | EDITOR | 0 | 1 | dashboard-first-project |
| ENTERPRISE | INTERNAL_REVIEWER | 0 | 1 | |
| ENTERPRISE | EXTERNAL_REVIEWER | 0 | 1 | |
| ENTERPRISE | OWNER | 1 | 1 | |
| ENTERPRISE | EDITOR | 1 | 1 | |
| ENTERPRISE | INTERNAL_REVIEWER | 1 | 1 | |
| ENTERPRISE | EXTERNAL_REVIEWER | 1 | 1 | |