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
Scenario: List Bits AI investigations returns "OK" response with pagination
50
+
Given operation "ListInvestigations" enabled
51
+
And new "ListInvestigations" request
52
+
When the request with pagination is sent
53
+
Then the response status is 200 OK
54
+
55
+
@generated@skip@team:DataDog/bits-ai
56
+
Scenario: Trigger a Bits AI investigation returns "Bad Request" response
57
+
Given operation "TriggerInvestigation" enabled
58
+
And new "TriggerInvestigation" request
59
+
And body with value {"data": {"attributes": {"trigger": {"monitor_alert_trigger": {"event_id": "1234567890123456789", "event_ts": 1700000000000, "monitor_id": 12345678}, "type": "monitor_alert_trigger"}}, "type": "trigger_investigation_request"}}
60
+
When the request is sent
61
+
Then the response status is 400 Bad Request
62
+
63
+
@generated@skip@team:DataDog/bits-ai
64
+
Scenario: Trigger a Bits AI investigation returns "OK" response
65
+
Given operation "TriggerInvestigation" enabled
66
+
And new "TriggerInvestigation" request
67
+
And body with value {"data": {"attributes": {"trigger": {"monitor_alert_trigger": {"event_id": "1234567890123456789", "event_ts": 1700000000000, "monitor_id": 12345678}, "type": "monitor_alert_trigger"}}, "type": "trigger_investigation_request"}}
Copy file name to clipboardExpand all lines: features/v2/test_optimization.feature
-64Lines changed: 0 additions & 64 deletions
Original file line number
Diff line number
Diff line change
@@ -33,38 +33,6 @@ Feature: Test Optimization
33
33
When the request is sent
34
34
Then the response status is 404 Not Found
35
35
36
-
@generated@skip@team:DataDog/ci-app-backend
37
-
Scenario: Get Flaky Tests Management policies returns "Bad Request" response
38
-
Given operation "GetFlakyTestsManagementPolicies" enabled
39
-
And new "GetFlakyTestsManagementPolicies" request
40
-
And body with value {"data": {"attributes": {"repository_id": "github.com/datadog/shopist"}, "type": "test_optimization_get_flaky_tests_management_policies_request"}}
41
-
When the request is sent
42
-
Then the response status is 400 Bad Request
43
-
44
-
@generated@skip@team:DataDog/ci-app-backend
45
-
Scenario: Get Flaky Tests Management policies returns "Not Found" response
46
-
Given operation "GetFlakyTestsManagementPolicies" enabled
47
-
And new "GetFlakyTestsManagementPolicies" request
48
-
And body with value {"data": {"attributes": {"repository_id": "github.com/datadog/shopist"}, "type": "test_optimization_get_flaky_tests_management_policies_request"}}
49
-
When the request is sent
50
-
Then the response status is 404 Not Found
51
-
52
-
@generated@skip@team:DataDog/ci-app-backend
53
-
Scenario: Get Flaky Tests Management policies returns "OK" response
54
-
Given operation "GetFlakyTestsManagementPolicies" enabled
55
-
And new "GetFlakyTestsManagementPolicies" request
56
-
And body with value {"data": {"attributes": {"repository_id": "github.com/datadog/shopist"}, "type": "test_optimization_get_flaky_tests_management_policies_request"}}
57
-
When the request is sent
58
-
Then the response status is 200 OK
59
-
60
-
@skip@team:DataDog/ci-app-backend
61
-
Scenario: Get Flaky Tests Management policies with empty repository_id returns bad request
62
-
Given operation "GetFlakyTestsManagementPolicies" enabled
63
-
And new "GetFlakyTestsManagementPolicies" request
64
-
And body with value {"data": {"attributes": {"repository_id": ""}, "type": "test_optimization_get_flaky_tests_management_policies_request"}}
65
-
When the request is sent
66
-
Then the response status is 400 Bad Request
67
-
68
36
@generated@skip@team:DataDog/ci-app-backend
69
37
Scenario: Get Test Optimization service settings returns "Bad Request" response
70
38
Given operation "GetTestOptimizationServiceSettings" enabled
0 commit comments