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/v1/dashboards.feature
+12
Original file line number
Diff line number
Diff line change
@@ -817,6 +817,18 @@ Feature: Dashboards
817
817
And the response "widgets[0].definition.requests[0].display_type" is equal to "bars"
818
818
And the response "widgets[0].definition.requests[0].q" is equal to "sum:trace.test.errors{env:prod,service:datadog-api-spec} by {resource_name}.as_count()"
819
819
820
+
@team:DataDog/dashboards-backend
821
+
Scenario: Create a new dashboard with timeseries widget with custom_unit
822
+
Given new "CreateDashboard" request
823
+
And body from file "dashboards_json_payload/timeseries_widget_with_custom_unit.json"
824
+
When the request is sent
825
+
Then the response status is 200 OK
826
+
And the response "widgets[0].definition.type" is equal to "timeseries"
827
+
And the response "widgets[0].definition.requests[0].formulas[0].number_format.unit_scale.type" is equal to "canonical_unit"
828
+
And the response "widgets[0].definition.requests[0].formulas[0].number_format.unit_scale.unit_name" is equal to "apdex"
829
+
And the response "widgets[0].definition.requests[0].formulas[0].number_format.unit.type" is equal to "canonical_unit"
830
+
And the response "widgets[0].definition.requests[0].formulas[0].number_format.unit.unit_name" is equal to "fraction"
831
+
820
832
@team:DataDog/dashboards-backend
821
833
Scenario: Create a new dashboard with toplist widget
0 commit comments