Feature: As a user I want to delete user test results
Scenario Outline: Delete user test result permissions
Given I am on user test results page
And my user role is <userRole>
Then I <permissionType> delete user test results
Examples:
| userRole | permissionType |
| OWNER | can |
| ADMIN | can |
| EDITOR | can |
| INTERNAL_REVIEWER | can not |
| EXTERNAL_REVIEWER | can not |
| EXTERNAL_EDITOR | can |
Scenario: Successful delete
Given I have successfully deleted a user test result
Then the test result will be removed from the list
Scenario: Successfully deleting multiple results
Given I have deleted multiple results
Then each result will be removed from the list of results
Scenario: Deletion fails
Given the test result deletion fails
Then I will see an error message