Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #A comment can be added to any incident in the below statuses And that should result in a 201
- Scenario Outline: Comment is added to an incident that has non closed statuses
- Given I have an existing default incident with "status" set to "<value>"
- And I know the ID for the default incident as "defaultIncidentId"
- And my payload type is "application/json" and I am accepting "application/json"
- When I POST my payload to "/v1/incidents/{defaultIncidentId}/comments"
- Then a response of 201 (CREATED) is returned
- And the response contains a Location header with the location of the comment
- Examples:
- | value |
- | NEW |
- | OPEN |
- | PENDING |
- | SOLVED |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement