@@ -125,8 +125,7 @@ Feature: Teams
125125
126126 @generated @skip @team:DataDog/aaa-omg
127127 Scenario : Create team connections returns "Conflict" response
128- Given operation "CreateTeamConnections" enabled
129- And new "CreateTeamConnections" request
128+ Given new "CreateTeamConnections" request
130129 And body with value {"data" : [{"attributes" : {"managed_by" : "github_sync" , "source" : "github" }, "relationships" : {"connected_team" : {"data" : {"id" : "@GitHubOrg/team-handle" , "type" : "github_team" }}, "team" : {"data" : {"id" : "87654321-4321-8765-dcba-210987654321" , "type" : "team" }}}, "type" : "team_connection" }]}
131130 When the request is sent
132131 Then the response status is 409 Conflict
@@ -155,16 +154,14 @@ Feature: Teams
155154
156155 @generated @skip @team:DataDog/aaa-omg
157156 Scenario : Delete team connections returns "No Content" response
158- Given operation "DeleteTeamConnections" enabled
159- And new "DeleteTeamConnections" request
157+ Given new "DeleteTeamConnections" request
160158 And body with value {"data" : [{"id" : "12345678-1234-5678-9abc-123456789012" , "type" : "team_connection" }]}
161159 When the request is sent
162160 Then the response status is 204 No Content
163161
164162 @generated @skip @team:DataDog/aaa-omg
165163 Scenario : Delete team connections returns "Not Found" response
166- Given operation "DeleteTeamConnections" enabled
167- And new "DeleteTeamConnections" request
164+ Given new "DeleteTeamConnections" request
168165 And body with value {"data" : [{"id" : "12345678-1234-5678-9abc-123456789012" , "type" : "team_connection" }]}
169166 When the request is sent
170167 Then the response status is 404 Not Found
@@ -357,16 +354,14 @@ Feature: Teams
357354
358355 @generated @skip @team:DataDog/aaa-omg
359356 Scenario : Get team sync configurations returns "OK" response
360- Given operation "GetTeamSync" enabled
361- And new "GetTeamSync" request
357+ Given new "GetTeamSync" request
362358 And request contains "filter[source]" parameter from "REPLACE.ME"
363359 When the request is sent
364360 Then the response status is 200 OK
365361
366362 @generated @skip @team:DataDog/aaa-omg
367363 Scenario : Get team sync configurations returns "Team sync configurations not found" response
368- Given operation "GetTeamSync" enabled
369- And new "GetTeamSync" request
364+ Given new "GetTeamSync" request
370365 And request contains "filter[source]" parameter from "REPLACE.ME"
371366 When the request is sent
372367 Then the response status is 404 Team sync configurations not found
@@ -389,30 +384,26 @@ Feature: Teams
389384
390385 @generated @skip @team:DataDog/aaa-omg
391386 Scenario : Link Teams with GitHub Teams returns "OK" response
392- Given operation "SyncTeams" enabled
393- And new "SyncTeams" request
387+ Given new "SyncTeams" request
394388 And body with value {"data" : {"attributes" : {"source" : "github" , "type" : "link" }, "type" : "team_sync_bulk" }}
395389 When the request is sent
396390 Then the response status is 200 OK
397391
398392 @generated @skip @team:DataDog/aaa-omg
399393 Scenario : List team connections returns "Bad Request" response
400- Given operation "ListTeamConnections" enabled
401- And new "ListTeamConnections" request
394+ Given new "ListTeamConnections" request
402395 When the request is sent
403396 Then the response status is 400 Bad Request
404397
405398 @generated @skip @team:DataDog/aaa-omg
406399 Scenario : List team connections returns "OK" response
407- Given operation "ListTeamConnections" enabled
408- And new "ListTeamConnections" request
400+ Given new "ListTeamConnections" request
409401 When the request is sent
410402 Then the response status is 200 OK
411403
412404 @generated @skip @team:DataDog/aaa-omg @with-pagination
413405 Scenario : List team connections returns "OK" response with pagination
414- Given operation "ListTeamConnections" enabled
415- And new "ListTeamConnections" request
406+ Given new "ListTeamConnections" request
416407 When the request with pagination is sent
417408 Then the response status is 200 OK
418409
@@ -515,7 +506,6 @@ Feature: Teams
515506 @replay-only @team:DataDog/aaa-omg
516507 Scenario : Sync teams returns "OK" response
517508 Given new "SyncTeams" request
518- And operation "SyncTeams" enabled
519509 And body with value {"data" : {"attributes" : {"source" : "github" , "type" : "link" }, "type" : "team_sync_bulk" }}
520510 When the request is sent
521511 Then the response status is 200 OK
0 commit comments