@@ -70,7 +70,7 @@ Feature: Incidents
7070 Scenario : Create an incident returns "Bad Request" response
7171 Given operation "CreateIncident" enabled
7272 And new "CreateIncident" request
73- And body with value {"data" : {"attributes" : {"customer_impact_scope" : "Example customer impact scope" , "customer_impacted" : false, "fields" : {"severity" : {"type" : "dropdown" , "value" : "SEV-5" }}, "initial_cells" : [{"cell_type" : "markdown" , "content" : {"content" : "An example timeline cell message." }, "important" : false}], "notification_handles" : [{"display_name" : "Jane Doe" , "handle" : "@test. user@test .com" }], "title" : "A test incident title" }, "relationships" : {"commander_user" : {"data" : {"id" : "00000000-0000-0000-0000-000000000000" , "type" : "users" }}}, "type" : "incidents" }}
73+ And body with value {"data" : {"attributes" : {"customer_impact_scope" : "Example customer impact scope" , "customer_impacted" : false, "fields" : {"severity" : {"type" : "dropdown" , "value" : "SEV-5" }}, "initial_cells" : [{"cell_type" : "markdown" , "content" : {"content" : "An example timeline cell message." }, "important" : false}], "notification_handles" : [{"display_name" : "Jane Doe" , "handle" : "@user@email .com" }, { "display_name" : "Slack Channel" , "handle" : "@slack-channel" }, { "display_name" : "Incident Workflow" , "handle" : "@workflow-from-incident " }], "title" : "A test incident title" }, "relationships" : {"commander_user" : {"data" : {"id" : "00000000-0000-0000-0000-000000000000" , "type" : "users" }}}, "type" : "incidents" }}
7474 When the request is sent
7575 Then the response status is 400 Bad Request
7676
@@ -89,7 +89,7 @@ Feature: Incidents
8989 Scenario : Create an incident returns "Not Found" response
9090 Given operation "CreateIncident" enabled
9191 And new "CreateIncident" request
92- And body with value {"data" : {"attributes" : {"customer_impact_scope" : "Example customer impact scope" , "customer_impacted" : false, "fields" : {"severity" : {"type" : "dropdown" , "value" : "SEV-5" }}, "initial_cells" : [{"cell_type" : "markdown" , "content" : {"content" : "An example timeline cell message." }, "important" : false}], "notification_handles" : [{"display_name" : "Jane Doe" , "handle" : "@test. user@test .com" }], "title" : "A test incident title" }, "relationships" : {"commander_user" : {"data" : {"id" : "00000000-0000-0000-0000-000000000000" , "type" : "users" }}}, "type" : "incidents" }}
92+ And body with value {"data" : {"attributes" : {"customer_impact_scope" : "Example customer impact scope" , "customer_impacted" : false, "fields" : {"severity" : {"type" : "dropdown" , "value" : "SEV-5" }}, "initial_cells" : [{"cell_type" : "markdown" , "content" : {"content" : "An example timeline cell message." }, "important" : false}], "notification_handles" : [{"display_name" : "Jane Doe" , "handle" : "@user@email .com" }, { "display_name" : "Slack Channel" , "handle" : "@slack-channel" }, { "display_name" : "Incident Workflow" , "handle" : "@workflow-from-incident " }], "title" : "A test incident title" }, "relationships" : {"commander_user" : {"data" : {"id" : "00000000-0000-0000-0000-000000000000" , "type" : "users" }}}, "type" : "incidents" }}
9393 When the request is sent
9494 Then the response status is 404 Not Found
9595
@@ -530,7 +530,7 @@ Feature: Incidents
530530 Given operation "UpdateIncident" enabled
531531 And new "UpdateIncident" request
532532 And request contains "incident_id" parameter from "REPLACE.ME"
533- And body with value {"data" : {"attributes" : {"customer_impact_end" : null, "customer_impact_scope" : "Example customer impact scope" , "customer_impact_start" : null, "customer_impacted" : false, "detected" : null, "fields" : {"severity" : {"type" : "dropdown" , "value" : "SEV-5" }}, "notification_handles" : [{"display_name" : "Jane Doe" , "handle" : "@test. user@test .com" }], "title" : "A test incident title" }, "id" : "00000000-0000-0000-4567-000000000000" , "relationships" : {"commander_user" : {"data" : {"id" : "00000000-0000-0000-0000-000000000000" , "type" : "users" }}, "integrations" : {"data" : [{"id" : "00000000-abcd-0005-0000-000000000000" , "type" : "incident_integrations" }, {"id" : "00000000-abcd-0006-0000-000000000000" , "type" : "incident_integrations" }]}, "postmortem" : {"data" : {"id" : "00000000-0000-abcd-3000-000000000000" , "type" : "incident_postmortems" }}}, "type" : "incidents" }}
533+ And body with value {"data" : {"attributes" : {"customer_impact_end" : null, "customer_impact_scope" : "Example customer impact scope" , "customer_impact_start" : null, "customer_impacted" : false, "detected" : null, "fields" : {"severity" : {"type" : "dropdown" , "value" : "SEV-5" }}, "notification_handles" : [{"display_name" : "Jane Doe" , "handle" : "@user@email .com" }, { "display_name" : "Slack Channel" , "handle" : "@slack-channel" }, { "display_name" : "Incident Workflow" , "handle" : "@workflow-from-incident " }], "title" : "A test incident title" }, "id" : "00000000-0000-0000-4567-000000000000" , "relationships" : {"commander_user" : {"data" : {"id" : "00000000-0000-0000-0000-000000000000" , "type" : "users" }}, "integrations" : {"data" : [{"id" : "00000000-abcd-0005-0000-000000000000" , "type" : "incident_integrations" }, {"id" : "00000000-abcd-0006-0000-000000000000" , "type" : "incident_integrations" }]}, "postmortem" : {"data" : {"id" : "00000000-0000-abcd-3000-000000000000" , "type" : "incident_postmortems" }}}, "type" : "incidents" }}
534534 When the request is sent
535535 Then the response status is 400 Bad Request
536536
@@ -539,7 +539,7 @@ Feature: Incidents
539539 Given operation "UpdateIncident" enabled
540540 And new "UpdateIncident" request
541541 And request contains "incident_id" parameter from "REPLACE.ME"
542- And body with value {"data" : {"attributes" : {"customer_impact_end" : null, "customer_impact_scope" : "Example customer impact scope" , "customer_impact_start" : null, "customer_impacted" : false, "detected" : null, "fields" : {"severity" : {"type" : "dropdown" , "value" : "SEV-5" }}, "notification_handles" : [{"display_name" : "Jane Doe" , "handle" : "@test. user@test .com" }], "title" : "A test incident title" }, "id" : "00000000-0000-0000-4567-000000000000" , "relationships" : {"commander_user" : {"data" : {"id" : "00000000-0000-0000-0000-000000000000" , "type" : "users" }}, "integrations" : {"data" : [{"id" : "00000000-abcd-0005-0000-000000000000" , "type" : "incident_integrations" }, {"id" : "00000000-abcd-0006-0000-000000000000" , "type" : "incident_integrations" }]}, "postmortem" : {"data" : {"id" : "00000000-0000-abcd-3000-000000000000" , "type" : "incident_postmortems" }}}, "type" : "incidents" }}
542+ And body with value {"data" : {"attributes" : {"customer_impact_end" : null, "customer_impact_scope" : "Example customer impact scope" , "customer_impact_start" : null, "customer_impacted" : false, "detected" : null, "fields" : {"severity" : {"type" : "dropdown" , "value" : "SEV-5" }}, "notification_handles" : [{"display_name" : "Jane Doe" , "handle" : "@user@email .com" }, { "display_name" : "Slack Channel" , "handle" : "@slack-channel" }, { "display_name" : "Incident Workflow" , "handle" : "@workflow-from-incident " }], "title" : "A test incident title" }, "id" : "00000000-0000-0000-4567-000000000000" , "relationships" : {"commander_user" : {"data" : {"id" : "00000000-0000-0000-0000-000000000000" , "type" : "users" }}, "integrations" : {"data" : [{"id" : "00000000-abcd-0005-0000-000000000000" , "type" : "incident_integrations" }, {"id" : "00000000-abcd-0006-0000-000000000000" , "type" : "incident_integrations" }]}, "postmortem" : {"data" : {"id" : "00000000-0000-abcd-3000-000000000000" , "type" : "incident_postmortems" }}}, "type" : "incidents" }}
543543 When the request is sent
544544 Then the response status is 404 Not Found
545545
0 commit comments