@@ -127,52 +127,52 @@ Feature: On-Call
127127 Then the response status is 200 OK
128128
129129 @generated @skip @team:DataDog/on-call
130- Scenario : Get team on-call users returns "Bad Request" response
131- Given new "GetTeamOnCallUsers " request
132- And request contains "team_id " parameter from "REPLACE.ME"
130+ Scenario : Get scheduled on-call user returns "Bad Request" response
131+ Given new "GetScheduleOnCallUser " request
132+ And request contains "schedule_id " parameter from "REPLACE.ME"
133133 When the request is sent
134134 Then the response status is 400 Bad Request
135135
136136 @generated @skip @team:DataDog/on-call
137- Scenario : Get team on-call users returns "Not Found" response
138- Given new "GetTeamOnCallUsers " request
139- And request contains "team_id " parameter from "REPLACE.ME"
137+ Scenario : Get scheduled on-call user returns "Not Found" response
138+ Given new "GetScheduleOnCallUser " request
139+ And request contains "schedule_id " parameter from "REPLACE.ME"
140140 When the request is sent
141141 Then the response status is 404 Not Found
142142
143143 @team:DataDog/on-call
144- Scenario : Get team on-call users returns "OK" response
145- Given new "GetTeamOnCallUsers " request
144+ Scenario : Get scheduled on-call user returns "OK" response
145+ Given new "GetScheduleOnCallUser " request
146146 And there is a valid "user" in the system
147- And there is a valid "dd_team" in the system
148147 And there is a valid "schedule" in the system
149- And there is a valid "escalation_policy" in the system
150- And there are valid "routing_rules" in the system
151- And request contains "team_id" parameter from "routing_rules.data.id"
152- And request contains "include" parameter with value "responders,escalations.responders"
148+ And request contains "schedule_id" parameter from "schedule.data.id"
153149 When the request is sent
154150 Then the response status is 200 OK
155151
156152 @generated @skip @team:DataDog/on-call
157- Scenario : Get the schedule on-call user returns "Bad Request" response
158- Given new "GetScheduleOnCallUser " request
159- And request contains "schedule_id " parameter from "REPLACE.ME"
153+ Scenario : Get team on-call users returns "Bad Request" response
154+ Given new "GetTeamOnCallUsers " request
155+ And request contains "team_id " parameter from "REPLACE.ME"
160156 When the request is sent
161157 Then the response status is 400 Bad Request
162158
163159 @generated @skip @team:DataDog/on-call
164- Scenario : Get the schedule on-call user returns "Not Found" response
165- Given new "GetScheduleOnCallUser " request
166- And request contains "schedule_id " parameter from "REPLACE.ME"
160+ Scenario : Get team on-call users returns "Not Found" response
161+ Given new "GetTeamOnCallUsers " request
162+ And request contains "team_id " parameter from "REPLACE.ME"
167163 When the request is sent
168164 Then the response status is 404 Not Found
169165
170166 @team:DataDog/on-call
171- Scenario : Get the schedule on-call user returns "OK" response
172- Given new "GetScheduleOnCallUser " request
167+ Scenario : Get team on-call users returns "OK" response
168+ Given new "GetTeamOnCallUsers " request
173169 And there is a valid "user" in the system
170+ And there is a valid "dd_team" in the system
174171 And there is a valid "schedule" in the system
175- And request contains "schedule_id" parameter from "schedule.data.id"
172+ And there is a valid "escalation_policy" in the system
173+ And there are valid "routing_rules" in the system
174+ And request contains "team_id" parameter from "routing_rules.data.id"
175+ And request contains "include" parameter with value "responders,escalations.responders"
176176 When the request is sent
177177 Then the response status is 200 OK
178178
0 commit comments