Creating a user test

BDD file with acceptance criteria for creating a user test, describing each step of the feature and user permissions.
Feature: As a user I want to create a user test

Scenario: User test form
 Given  I am on the create user test page
 Then  I should see create the user test form

Scenario: Reached project limit
 Given  I am on the free plan
 And  I have reached the project limit
 When  I go to create a project
 Then  I will be shown the paywall

Scenario Outline: Create user test page permissions
 Given  my user role is <userRole>
 When  I am on the create user test page
 Then  I will see the <contentType>

Examples:
| userRole | contentType |
| OWNER | create user test form |
| ADMIN | create user test form |
| EDITOR | create user test form |
| EXTERNAL_EDITOR | create user test form |
| INTERNAL_REVIEWER | no access message |
| EXTERNAL_REVIEWER | no access message |

Scenario: Selecting a prototype
 Given  I have some prototypes
 Then  I will be able to select any prototype

Scenario: Selecting a prototype with no screens
 Given  I have chosen a prototype with no screens
 Then  I will see an error messsage

Scenario: Selecting a password protected prototype
 Given  I have chosen a password protected prototype
 Then  I will see an error message