Deleting comments

BDD file with acceptance criteria for deleting comments
Feature: As a user I want to delete comments

Scenario Outline: Delete own comment permissions
 Given  I am a <userRole>
 Then  I <permissionType> delete comments made by myself on a prototype

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

Scenario Outline: Delete others comments permissions
 Given  I am a <userRole>
 Then  I <permissionType> comments made by others on a prototype

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

Scenario: Delete comment success
 Given  I delete a comment
 And  the deletion is successful
 Then  the comment will be removed from my comments list

Scenario: Delete comment fail
 Given  I delete a comment
 And  the deletion fails
 Then  I will see visual feedback to explain this
 And  the comment will remain in my comments list