@@ -16,8 +16,7 @@ Feature: Usage Metering
16
16
17
17
@replay-only @team:DataDog/revenue-query
18
18
Scenario : Get Monthly Cost Attribution returns "Bad Request" response
19
- Given operation "GetMonthlyCostAttribution" enabled
20
- And new "GetMonthlyCostAttribution" request
19
+ Given new "GetMonthlyCostAttribution" request
21
20
And request contains "start_month" parameter with value "{{ timeISO('now - 5d') }}"
22
21
And request contains "fields" parameter with value "not_a_product"
23
22
And request contains "end_month" parameter with value "{{ timeISO('now - 3d') }}"
@@ -26,8 +25,7 @@ Feature: Usage Metering
26
25
27
26
@replay-only @team:DataDog/revenue-query
28
27
Scenario : Get Monthly Cost Attribution returns "OK" response
29
- Given operation "GetMonthlyCostAttribution" enabled
30
- And new "GetMonthlyCostAttribution" request
28
+ Given new "GetMonthlyCostAttribution" request
31
29
And request contains "start_month" parameter with value "{{ timeISO('now - 5d') }}"
32
30
And request contains "fields" parameter with value "infra_host_total_cost"
33
31
And request contains "end_month" parameter with value "{{ timeISO('now - 3d') }}"
@@ -36,15 +34,13 @@ Feature: Usage Metering
36
34
37
35
@generated @skip @team:DataDog/revenue-query
38
36
Scenario : Get active billing dimensions for cost attribution returns "Bad Request" response
39
- Given operation "GetActiveBillingDimensions" enabled
40
- And new "GetActiveBillingDimensions" request
37
+ Given new "GetActiveBillingDimensions" request
41
38
When the request is sent
42
39
Then the response status is 400 Bad Request
43
40
44
41
@team:DataDog/revenue-query
45
42
Scenario : Get active billing dimensions for cost attribution returns "OK" response
46
- Given operation "GetActiveBillingDimensions" enabled
47
- And new "GetActiveBillingDimensions" request
43
+ Given new "GetActiveBillingDimensions" request
48
44
When the request is sent
49
45
Then the response status is 200 OK
50
46
0 commit comments