Viewing billing page

BDD file with acceptance criteria for viewing the billing page and updating plan/card details, describing each step of the feature and user permissions.
Feature: As a user, I want to view the Billing page

Scenario Outline: Billing page access on self serve
 Given  I go to the billing page as a <userRole>
 Then  I <permissionType> see the billing page

Examples:
| userRole | permissionType |
| OWNER | can |
| ADMIN | can not |
| EDITOR | can not |
| INTERNAL_REVIEWER | can not |
| EXTERNAL_REVIEWER | can not |
| EXTERNAL_EDITOR | can not |

Scenario Outline: Updating plan
 Given  I am on the billing page on <plan> plan
 Then  I <permissionType> be able to update my plan

Examples:
| plan | permissionType |
| COMPANY | will |
| TEAM | will |
| PRO | will |
| FREE | will |
| ENTERPRISE | will not |

Scenario Outline: Updating card details
 Given  I am on the billing page on <plan> plan
 Then  I <permissionType> be able to update my card details

Examples:
| plan | permissionType |
| COMPANY | will |
| TEAM | will |
| PRO | will |
| FREE | will not |
| ENTERPRISE | will not |