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: features/v2/dora_metrics.feature
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -105,63 +105,63 @@ Feature: DORA Metrics
105
105
Then the response status is 200 OK
106
106
107
107
@skip@team:DataDog/ci-app-backend
108
-
Scenario: Send a deployment event for DORA Metrics returns "Bad Request" response
108
+
Scenario: Send a deployment event returns "Bad Request" response
109
109
Given new "CreateDORADeployment" request
110
110
And body with value {"data": {"attributes": {}}}
111
111
When the request is sent
112
112
Then the response status is 400 Bad Request
113
113
114
114
@generated@skip@team:DataDog/ci-app-backend
115
-
Scenario: Send a deployment event for DORA Metrics returns "OK - but delayed due to incident" response
115
+
Scenario: Send a deployment event returns "OK - but delayed due to incident" response
116
116
Given new "CreateDORADeployment" request
117
117
And body with value {"data": {"attributes": {"custom_tags": ["language:java", "department:engineering"], "env": "staging", "finished_at": 1693491984000000000, "git": {"commit_sha": "66adc9350f2cc9b250b69abddab733dd55e1a588", "repository_url": "https://github.com/organization/example-repository"}, "service": "shopist", "started_at": 1693491974000000000, "team": "backend", "version": "v1.12.07"}}}
118
118
When the request is sent
119
119
Then the response status is 202 OK - but delayed due to incident
120
120
121
121
@replay-only@team:DataDog/ci-app-backend
122
-
Scenario: Send a deployment event for DORA Metrics returns "OK" response
122
+
Scenario: Send a deployment event returns "OK" response
123
123
Given new "CreateDORADeployment" request
124
124
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"}}}
125
125
When the request is sent
126
126
Then the response status is 200 OK
127
127
128
128
@skip@team:DataDog/ci-app-backend
129
-
Scenario: Send a failure event for DORA Metrics returns "Bad Request" response
129
+
Scenario: Send a failure event returns "Bad Request" response
130
130
Given new "CreateDORAIncident" request
131
131
And body with value {"data": {"attributes": {}}}
132
132
When the request is sent
133
133
Then the response status is 400 Bad Request
134
134
135
135
@generated@skip@team:DataDog/ci-app-backend
136
-
Scenario: Send a failure event for DORA Metrics returns "OK - but delayed due to incident" response
136
+
Scenario: Send a failure event returns "OK - but delayed due to incident" response
137
137
Given new "CreateDORAFailure" request
138
138
And body with value {"data": {"attributes": {"custom_tags": ["language:java", "department:engineering"], "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"}}}
139
139
When the request is sent
140
140
Then the response status is 202 OK - but delayed due to incident
141
141
142
142
@replay-only@team:DataDog/ci-app-backend
143
-
Scenario: Send a failure event for DORA Metrics returns "OK" response
143
+
Scenario: Send a failure event returns "OK" response
144
144
Given new "CreateDORAIncident" request
145
145
And body with value {"data": {"attributes": {"finished_at": 1707842944600000000, "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": 1707842944500000000, "team": "backend", "version": "v1.12.07"}}}
146
146
When the request is sent
147
147
Then the response status is 200 OK
148
148
149
149
@generated@skip@team:DataDog/ci-app-backend
150
-
Scenario: Send an incident event for DORA Metrics returns "Bad Request" response
150
+
Scenario: Send an incident event returns "Bad Request" response
151
151
Given new "CreateDORAIncident" request
152
152
And body with value {"data": {"attributes": {"custom_tags": ["language:java", "department:engineering"], "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"}}}
153
153
When the request is sent
154
154
Then the response status is 400 Bad Request
155
155
156
156
@generated@skip@team:DataDog/ci-app-backend
157
-
Scenario: Send an incident event for DORA Metrics returns "OK - but delayed due to incident" response
157
+
Scenario: Send an incident event returns "OK - but delayed due to incident" response
158
158
Given new "CreateDORAIncident" request
159
159
And body with value {"data": {"attributes": {"custom_tags": ["language:java", "department:engineering"], "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"}}}
160
160
When the request is sent
161
161
Then the response status is 202 OK - but delayed due to incident
162
162
163
163
@generated@skip@team:DataDog/ci-app-backend
164
-
Scenario: Send an incident event for DORA Metrics returns "OK" response
164
+
Scenario: Send an incident event returns "OK" response
165
165
Given new "CreateDORAIncident" request
166
166
And body with value {"data": {"attributes": {"custom_tags": ["language:java", "department:engineering"], "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"}}}
0 commit comments