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
And body with value {"filter": {"from": "now-15m", "query": "@ci.provider.name:github AND @ci.status:error", "to": "now"}, "options": {"timezone": "GMT"}, "page": {"cursor": "eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==", "limit": 25}, "sort": "timestamp"}
And body with value {"filter": {"from": "now-15m", "query": "@ci.provider.name:github AND @ci.status:error", "to": "now"}, "options": {"timezone": "GMT"}, "page": {"limit": 5}, "sort": "timestamp"}
And body with value {"filter": {"from": "now-15m", "query": "@test.service:web-ui-tests AND @test.status:fail", "to": "now"}, "options": {"timezone": "GMT"}, "page": {"cursor": "eyJzdGFydEF0IjoiQVFBQUFYS2tMS3pPbm40NGV3QUFBQUJCV0V0clRFdDZVbG8zY3pCRmNsbHJiVmxDWlEifQ==", "limit": 25}, "sort": "timestamp"}
And body with value {"filter": {"from": "now-15m", "query": "@test.service:web-ui-tests AND @test.status:skip", "to": "now"}, "options": {"timezone": "GMT"}, "page": {"limit": 25}, "sort": "timestamp"}
Scenario: Search tests events returns "OK" response with pagination
69
69
Given new "SearchCIAppTestEvents" request
70
70
And body with value {"filter": {"from": "now-15m", "query": "@test.status:pass AND -@language:python", "to": "now"}, "page": {"limit": 2}, "sort": "timestamp"}
Copy file name to clipboardExpand all lines: tests/v2/features/dora_metrics.feature
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -8,47 +8,47 @@ Feature: DORA Metrics
8
8
Given a valid "apiKeyAuth" key in the system
9
9
And an instance of "DORAMetrics" API
10
10
11
-
@skip@team:Datadog/ci-app-backend
11
+
@skip@team:DataDog/ci-app-backend
12
12
Scenario: Send a deployment event for DORA Metrics returns "Bad Request" response
13
13
Given operation "CreateDORADeployment" enabled
14
14
And new "CreateDORADeployment" request
15
15
And body with value {"data": {"attributes": {}}}
16
16
When the request is sent
17
17
Then the response status is 400 Bad Request
18
18
19
-
@skip@team:Datadog/ci-app-backend
19
+
@skip@team:DataDog/ci-app-backend
20
20
Scenario: Send a deployment event for DORA Metrics returns "OK - but delayed due to incident" response
21
21
Given operation "CreateDORADeployment" enabled
22
22
And new "CreateDORADeployment" request
23
23
And body with value {"data": {"attributes": {"finished_at": 1693491984000000000, "git": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_url": "https://github.com/organization/example-repository"}, "service": "shopist", "started_at": 1693491974000000000, "version": "v1.12.07"}}}
24
24
When the request is sent
25
25
Then the response status is 202 OK - but delayed due to incident
26
26
27
-
@replay-only@team:Datadog/ci-app-backend
27
+
@replay-only@team:DataDog/ci-app-backend
28
28
Scenario: Send a deployment event for DORA Metrics returns "OK" response
29
29
Given operation "CreateDORADeployment" enabled
30
30
And new "CreateDORADeployment" request
31
31
And body with value {"data": {"attributes": {"finished_at": 1693491984000000000, "git": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_url": "https://github.com/organization/example-repository"}, "service": "shopist", "started_at": 1693491974000000000, "version": "v1.12.07"}}}
32
32
When the request is sent
33
33
Then the response status is 200 OK
34
34
35
-
@skip@team:Datadog/ci-app-backend
35
+
@skip@team:DataDog/ci-app-backend
36
36
Scenario: Send an incident event for DORA Metrics returns "Bad Request" response
37
37
Given operation "CreateDORAIncident" enabled
38
38
And new "CreateDORAIncident" request
39
39
And body with value {"data": {"attributes": {}}}
40
40
When the request is sent
41
41
Then the response status is 400 Bad Request
42
42
43
-
@generated@skip@team:Datadog/ci-app-backend
43
+
@generated@skip@team:DataDog/ci-app-backend
44
44
Scenario: Send an incident event for DORA Metrics returns "OK - but delayed due to incident" response
45
45
Given operation "CreateDORAIncident" enabled
46
46
And new "CreateDORAIncident" request
47
47
And body with value {"data": {"attributes": {"env": "staging", "finished_at": 1693491984000000000, "git": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_url": "https://github.com/organization/example-repository"}, "name": "Webserver is down failing all requests.", "services": ["shopist"], "severity": "High", "started_at": 1693491974000000000, "team": "backend", "version": "v1.12.07"}}}
48
48
When the request is sent
49
49
Then the response status is 202 OK - but delayed due to incident
50
50
51
-
@replay-only@team:Datadog/ci-app-backend
51
+
@replay-only@team:DataDog/ci-app-backend
52
52
Scenario: Send an incident event for DORA Metrics returns "OK" response
0 commit comments