You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/v2/features/deployment_gates.feature
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -62,6 +62,7 @@ Feature: Deployment Gates
62
62
And body with value {"data": {"attributes": {"dry_run": false, "name": "My deployment rule", "options": {"excluded_resources": []}, "type": "faulty_deployment_detection"}, "type": "deployment_rule"}}
63
63
When the request is sent
64
64
Then the response status is 200 OK
65
+
And the response "data.attributes.options.excluded_resources" is equal to []
And request contains "id" parameter from "deployment_rule.data.id"
207
208
When the request is sent
208
209
Then the response status is 200 OK
210
+
And the response "data.attributes.options.excluded_resources" is equal to []
209
211
210
212
@generated@skip@team:DataDog/ci-app-backend
211
213
Scenario: Get rules for a deployment gate returns "Bad request." response
@@ -304,3 +306,4 @@ Feature: Deployment Gates
304
306
And body with value {"data": {"attributes": {"dry_run": false, "name": "Updated deployment rule", "options": {"excluded_resources": []}}, "type": "deployment_rule"}}
305
307
When the request is sent
306
308
Then the response status is 200 OK
309
+
And the response "data.attributes.options.excluded_resources" is equal to []
0 commit comments