@@ -57,17 +57,15 @@ Feature: Usage Metering
5757
5858 @skip @team:DataDog/red-zone-revenue-query
5959 Scenario : Get hourly usage attribution returns "Bad Request" response
60- Given operation "GetHourlyUsageAttribution" enabled
61- And new "GetHourlyUsageAttribution" request
60+ Given new "GetHourlyUsageAttribution" request
6261 And request contains "start_hr" parameter with value "{{ timeISO('now - 3d') }}"
6362 And request contains "usage_type" parameter with value "not_a_product"
6463 When the request is sent
6564 Then the response status is 400 Bad Request
6665
6766 @team:DataDog/red-zone-revenue-query
6867 Scenario : Get hourly usage attribution returns "OK" response
69- Given operation "GetHourlyUsageAttribution" enabled
70- And new "GetHourlyUsageAttribution" request
68+ Given new "GetHourlyUsageAttribution" request
7169 And request contains "start_hr" parameter with value "{{ timeISO('now - 3d') }}"
7270 And request contains "usage_type" parameter with value "infra_host_usage"
7371 When the request is sent
@@ -507,17 +505,15 @@ Feature: Usage Metering
507505
508506 @skip @team:DataDog/red-zone-revenue-query
509507 Scenario : Get monthly usage attribution returns "Bad Request" response
510- Given operation "GetMonthlyUsageAttribution" enabled
511- And new "GetMonthlyUsageAttribution" request
508+ Given new "GetMonthlyUsageAttribution" request
512509 And request contains "start_month" parameter with value "{{ timeISO('now - 3d') }}"
513510 And request contains "fields" parameter with value "not_a_product"
514511 When the request is sent
515512 Then the response status is 400 Bad Request
516513
517514 @team:DataDog/red-zone-revenue-query
518515 Scenario : Get monthly usage attribution returns "OK" response
519- Given operation "GetMonthlyUsageAttribution" enabled
520- And new "GetMonthlyUsageAttribution" request
516+ Given new "GetMonthlyUsageAttribution" request
521517 And request contains "start_month" parameter with value "{{ timeISO('now - 3d') }}"
522518 And request contains "fields" parameter with value "infra_host_usage"
523519 When the request is sent
0 commit comments