@@ -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" }}, "incident_type_uuid" : "00000000-0000-0000-0000-000000000000" , "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" }}
73+ And body with value {"data" : {"attributes" : {"customer_impact_scope" : "Example customer impact scope" , "customer_impacted" : false, "fields" : {"severity" : {"type" : "dropdown" , "value" : "SEV-5" }}, "incident_type_uuid" : "00000000-0000-0000-0000-000000000000" , "initial_cells" : [{"cell_type" : "markdown" , "content" : {"content" : "An example timeline cell message." }, "important" : false}], "is_test" : 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" }}, "incident_type_uuid" : "00000000-0000-0000-0000-000000000000" , "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" }}
92+ And body with value {"data" : {"attributes" : {"customer_impact_scope" : "Example customer impact scope" , "customer_impacted" : false, "fields" : {"severity" : {"type" : "dropdown" , "value" : "SEV-5" }}, "incident_type_uuid" : "00000000-0000-0000-0000-000000000000" , "initial_cells" : [{"cell_type" : "markdown" , "content" : {"content" : "An example timeline cell message." }, "important" : false}], "is_test" : 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
0 commit comments