Advertisement
Guest User

Another Outline

a guest
Oct 24th, 2012
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. #A comment can be added to any incident in the below statuses And that should result in a 201
  2. Scenario Outline: Comment is added to an incident that has non closed statuses
  3. Given I have an existing default incident with "status" set to "<value>"
  4. And I know the ID for the default incident as "defaultIncidentId"
  5. And my payload type is "application/json" and I am accepting "application/json"
  6. When I POST my payload to "/v1/incidents/{defaultIncidentId}/comments"
  7. Then a response of 201 (CREATED) is returned
  8. And the response contains a Location header with the location of the comment
  9.  
  10. Examples:
  11. | value |
  12. | NEW |
  13. | OPEN |
  14. | PENDING |
  15. | SOLVED |
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement