1
1
@endpoint(dora-metrics) @endpoint(dora-metrics-v2)
2
2
Feature : DORA Metrics
3
- Search or send events for DORA Metrics to measure and improve your
3
+ Search, send or delete events for DORA Metrics to measure and improve your
4
4
software delivery performance. See the [DORA Metrics
5
5
page](https://docs.datadoghq.com/dora_metrics/) for more information.
6
6
**Note**: DORA Metrics are not available in the US1-FED site.
@@ -9,6 +9,32 @@ Feature: DORA Metrics
9
9
Given a valid "apiKeyAuth" key in the system
10
10
And an instance of "DORAMetrics" API
11
11
12
+ @team:DataDog/ci-app-backend
13
+ Scenario : Delete a deployment event returns "Accepted" response
14
+ Given new "DeleteDORADeployment" request
15
+ And request contains "deployment_id" parameter with value "{unique_lower}"
16
+ When the request is sent
17
+ Then the response status is 202 Accepted
18
+
19
+ @team:DataDog/ci-app-backend
20
+ Scenario : Delete a deployment event returns "Bad Request" response
21
+ Given new "DeleteDORADeployment" request
22
+ When the request is sent
23
+ Then the response status is 400 Bad Request
24
+
25
+ @team:DataDog/ci-app-backend
26
+ Scenario : Delete a failure event returns "Accepted" response
27
+ Given new "DeleteDORAFailure" request
28
+ And request contains "failure_id" parameter with value "{unique_lower}"
29
+ When the request is sent
30
+ Then the response status is 202 Accepted
31
+
32
+ @team:DataDog/ci-app-backend
33
+ Scenario : Delete a failure event returns "Bad Request" response
34
+ Given new "DeleteDORAFailure" request
35
+ When the request is sent
36
+ Then the response status is 400 Bad Request
37
+
12
38
@generated @skip @team:DataDog/ci-app-backend
13
39
Scenario : Get a deployment event returns "Bad Request" response
14
40
Given new "GetDORADeployment" request
0 commit comments