@@ -10,14 +10,14 @@ Feature: On-Call
10
10
And an instance of "On-Call" API
11
11
12
12
@generated @skip @team:DataDog/bugle
13
- Scenario : Create on call escalation policy returns "Bad Request" response
13
+ Scenario : Create on- call escalation policy returns "Bad Request" response
14
14
Given new "CreateOnCallEscalationPolicy" request
15
15
And body with value {"data" : {"attributes" : {"description" : "Escalation Policy 1 description" , "name" : "Escalation Policy 1" , "resolve_page_on_policy_end" : true, "retries" : 2, "steps" : [{"assignment" : "default" , "escalate_after_seconds" : 3600, "targets" : [{"id" : "00000000-aba1-0000-0000-000000000000" , "type" : "users" }, {"id" : "00000000-aba2-0000-0000-000000000000" , "type" : "schedules" }, {"id" : "00000000-aba3-0000-0000-000000000000" , "type" : "teams" }]}, {"assignment" : "round-robin" , "escalate_after_seconds" : 3600, "targets" : [{"id" : "00000000-aba1-0000-0000-000000000000" , "type" : "users" }, {"id" : "00000000-abb1-0000-0000-000000000000" , "type" : "users" }]}]}, "relationships" : {"teams" : {"data" : [{"id" : "00000000-da3a-0000-0000-000000000000" , "type" : "teams" }]}}, "type" : "policies" }}
16
16
When the request is sent
17
17
Then the response status is 400 Bad Request
18
18
19
19
@team:DataDog/bugle
20
- Scenario : Create on call escalation policy returns "Created" response
20
+ Scenario : Create on- call escalation policy returns "Created" response
21
21
Given new "CreateOnCallEscalationPolicy" request
22
22
And there is a valid "schedule" in the system
23
23
And there is a valid "dd_team" in the system
@@ -43,7 +43,7 @@ Feature: On-Call
43
43
Then the response status is 201 Created
44
44
45
45
@team:DataDog/bugle
46
- Scenario : Delete on call escalation policy returns "No Content" response
46
+ Scenario : Delete on- call escalation policy returns "No Content" response
47
47
Given new "DeleteOnCallEscalationPolicy" request
48
48
And there is a valid "user" in the system
49
49
And there is a valid "dd_team" in the system
@@ -54,7 +54,7 @@ Feature: On-Call
54
54
Then the response status is 204 No Content
55
55
56
56
@generated @skip @team:DataDog/bugle
57
- Scenario : Delete on call escalation policy returns "Not Found" response
57
+ Scenario : Delete on- call escalation policy returns "Not Found" response
58
58
Given new "DeleteOnCallEscalationPolicy" request
59
59
And request contains "policy_id" parameter from "REPLACE.ME"
60
60
When the request is sent
@@ -76,21 +76,21 @@ Feature: On-Call
76
76
Then the response status is 404 Not Found
77
77
78
78
@generated @skip @team:DataDog/bugle
79
- Scenario : Get on call escalation policy returns "Bad Request" response
79
+ Scenario : Get on- call escalation policy returns "Bad Request" response
80
80
Given new "GetOnCallEscalationPolicy" request
81
81
And request contains "policy_id" parameter from "REPLACE.ME"
82
82
When the request is sent
83
83
Then the response status is 400 Bad Request
84
84
85
85
@generated @skip @team:DataDog/bugle
86
- Scenario : Get on call escalation policy returns "Not Found" response
86
+ Scenario : Get on- call escalation policy returns "Not Found" response
87
87
Given new "GetOnCallEscalationPolicy" request
88
88
And request contains "policy_id" parameter from "REPLACE.ME"
89
89
When the request is sent
90
90
Then the response status is 404 Not Found
91
91
92
92
@team:DataDog/bugle
93
- Scenario : Get on call escalation policy returns "OK" response
93
+ Scenario : Get on- call escalation policy returns "OK" response
94
94
Given new "GetOnCallEscalationPolicy" request
95
95
And there is a valid "user" in the system
96
96
And there is a valid "dd_team" in the system
@@ -116,23 +116,23 @@ Feature: On-Call
116
116
Then the response status is 200 OK
117
117
118
118
@generated @skip @team:DataDog/bugle
119
- Scenario : Update on call escalation policy returns "Bad Request" response
119
+ Scenario : Update on- call escalation policy returns "Bad Request" response
120
120
Given new "UpdateOnCallEscalationPolicy" request
121
121
And request contains "policy_id" parameter from "REPLACE.ME"
122
122
And body with value {"data" : {"attributes" : {"description" : "Escalation Policy 1 description" , "name" : "Escalation Policy 1" , "resolve_page_on_policy_end" : false, "retries" : 2, "steps" : [{"assignment" : "default" , "escalate_after_seconds" : 3600, "id" : "00000000-aba1-0000-0000-000000000000" , "targets" : [{"id" : "00000000-aba1-0000-0000-000000000000" , "type" : "users" }, {"id" : "00000000-aba2-0000-0000-000000000000" , "type" : "schedules" }]}]}, "id" : "a3000000-0000-0000-0000-000000000000" , "relationships" : {"teams" : {"data" : [{"id" : "00000000-da3a-0000-0000-000000000000" , "type" : "teams" }]}}, "type" : "policies" }}
123
123
When the request is sent
124
124
Then the response status is 400 Bad Request
125
125
126
126
@generated @skip @team:DataDog/bugle
127
- Scenario : Update on call escalation policy returns "Not Found" response
127
+ Scenario : Update on- call escalation policy returns "Not Found" response
128
128
Given new "UpdateOnCallEscalationPolicy" request
129
129
And request contains "policy_id" parameter from "REPLACE.ME"
130
130
And body with value {"data" : {"attributes" : {"description" : "Escalation Policy 1 description" , "name" : "Escalation Policy 1" , "resolve_page_on_policy_end" : false, "retries" : 2, "steps" : [{"assignment" : "default" , "escalate_after_seconds" : 3600, "id" : "00000000-aba1-0000-0000-000000000000" , "targets" : [{"id" : "00000000-aba1-0000-0000-000000000000" , "type" : "users" }, {"id" : "00000000-aba2-0000-0000-000000000000" , "type" : "schedules" }]}]}, "id" : "a3000000-0000-0000-0000-000000000000" , "relationships" : {"teams" : {"data" : [{"id" : "00000000-da3a-0000-0000-000000000000" , "type" : "teams" }]}}, "type" : "policies" }}
131
131
When the request is sent
132
132
Then the response status is 404 Not Found
133
133
134
134
@team:DataDog/bugle
135
- Scenario : Update on call escalation policy returns "OK" response
135
+ Scenario : Update on- call escalation policy returns "OK" response
136
136
Given new "UpdateOnCallEscalationPolicy" request
137
137
And there is a valid "user" in the system
138
138
And there is a valid "dd_team" in the system
0 commit comments