@@ -27,3 +27,73 @@ Feature: Synthetics
2727 When the request is sent
2828 Then the response status is 200 OK
2929 And the response "data.attributes.on_demand_concurrency_cap" is equal to 20
30+
31+ @generated @skip @team:DataDog/synthetics-managing
32+ Scenario : Search Synthetics suites returns "API error response." response
33+ Given new "SearchSuites" request
34+ When the request is sent
35+ Then the response status is 400 API error response.
36+
37+ @generated @skip @team:DataDog/synthetics-managing
38+ Scenario : Search Synthetics suites returns "OK" response
39+ Given new "SearchSuites" request
40+ When the request is sent
41+ Then the response status is 200 OK
42+
43+ @generated @skip @team:DataDog/synthetics-managing
44+ Scenario : Synthetics: Bulk delete suites returns "API error response." response
45+ Given new "DeleteSyntheticsSuites" request
46+ And body with value {"data" : {"attributes" : {"public_ids" : ["" ]}, "type" : "delete_suites_request" }}
47+ When the request is sent
48+ Then the response status is 400 API error response.
49+
50+ @generated @skip @team:DataDog/synthetics-managing
51+ Scenario : Synthetics: Bulk delete suites returns "OK" response
52+ Given new "DeleteSyntheticsSuites" request
53+ And body with value {"data" : {"attributes" : {"public_ids" : ["" ]}, "type" : "delete_suites_request" }}
54+ When the request is sent
55+ Then the response status is 200 OK
56+
57+ @generated @skip @team:DataDog/synthetics-managing
58+ Scenario : Synthetics: Create a test suite returns "API error response." response
59+ Given new "CreateSyntheticsSuite" request
60+ And body with value {"data" : {"attributes" : {"message" : "Notification message" , "name" : "Example suite name" , "options" : {"alerting" : {}}, "tags" : ["env:production" ], "tests" : [{"alerting_criticality" : "critical" , "public_id" : "" }], "type" : "suite" }, "type" : "suite" }}
61+ When the request is sent
62+ Then the response status is 400 API error response.
63+
64+ @generated @skip @team:DataDog/synthetics-managing
65+ Scenario : Synthetics: Create a test suite returns "OK" response
66+ Given new "CreateSyntheticsSuite" request
67+ And body with value {"data" : {"attributes" : {"message" : "Notification message" , "name" : "Example suite name" , "options" : {"alerting" : {}}, "tags" : ["env:production" ], "tests" : [{"alerting_criticality" : "critical" , "public_id" : "" }], "type" : "suite" }, "type" : "suite" }}
68+ When the request is sent
69+ Then the response status is 200 OK
70+
71+ @generated @skip @team:DataDog/synthetics-managing
72+ Scenario : Synthetics: Get a suite returns "API error response." response
73+ Given new "GetSyntheticsSuite" request
74+ And request contains "public_id" parameter from "REPLACE.ME"
75+ When the request is sent
76+ Then the response status is 404 API error response.
77+
78+ @generated @skip @team:DataDog/synthetics-managing
79+ Scenario : Synthetics: Get a suite returns "OK" response
80+ Given new "GetSyntheticsSuite" request
81+ And request contains "public_id" parameter from "REPLACE.ME"
82+ When the request is sent
83+ Then the response status is 200 OK
84+
85+ @generated @skip @team:DataDog/synthetics-managing
86+ Scenario : Synthetics: edit a test suite returns "API error response." response
87+ Given new "EditSyntheticsSuite" request
88+ And request contains "public_id" parameter from "REPLACE.ME"
89+ And body with value {"data" : {"attributes" : {"message" : "Notification message" , "name" : "Example suite name" , "options" : {"alerting" : {}}, "tags" : ["env:production" ], "tests" : [{"alerting_criticality" : "critical" , "public_id" : "" }], "type" : "suite" }, "type" : "suite" }}
90+ When the request is sent
91+ Then the response status is 400 API error response.
92+
93+ @generated @skip @team:DataDog/synthetics-managing
94+ Scenario : Synthetics: edit a test suite returns "OK" response
95+ Given new "EditSyntheticsSuite" request
96+ And request contains "public_id" parameter from "REPLACE.ME"
97+ And body with value {"data" : {"attributes" : {"message" : "Notification message" , "name" : "Example suite name" , "options" : {"alerting" : {}}, "tags" : ["env:production" ], "tests" : [{"alerting_criticality" : "critical" , "public_id" : "" }], "type" : "suite" }, "type" : "suite" }}
98+ When the request is sent
99+ Then the response status is 200 OK
0 commit comments