diff --git a/.apigentools-info b/.apigentools-info index a2cff687a02..0e7352a6b8b 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.4", - "regenerated": "2023-02-22 18:12:42.413887", - "spec_repo_commit": "7f9c8d81" + "regenerated": "2023-02-22 19:41:03.298967", + "spec_repo_commit": "837505a7" }, "v2": { "apigentools_version": "1.6.4", - "regenerated": "2023-02-22 18:12:42.430165", - "spec_repo_commit": "7f9c8d81" + "regenerated": "2023-02-22 19:41:03.312833", + "spec_repo_commit": "837505a7" } } } \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboard_Lists/Scenario_Get_all_dashboard_lists_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboard_Lists/Scenario_Get_all_dashboard_lists_returns_OK_response.freeze index 7f789ed82d9..ed2e4d655dd 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboard_Lists/Scenario_Get_all_dashboard_lists_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboard_Lists/Scenario_Get_all_dashboard_lists_returns_OK_response.freeze @@ -1 +1 @@ -2022-01-06T00:50:23.256Z \ No newline at end of file +2023-02-16T21:10:17.049Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboard_Lists/Scenario_Get_all_dashboard_lists_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboard_Lists/Scenario_Get_all_dashboard_lists_returns_OK_response.yaml index 481973231f5..52d56a5ce1d 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboard_Lists/Scenario_Get_all_dashboard_lists_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboard_Lists/Scenario_Get_all_dashboard_lists_returns_OK_response.yaml @@ -1,4 +1,25 @@ interactions: +- request: + body: | + {"name":"Test-Get_all_dashboard_lists_returns_OK_response-1676581817"} + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + method: POST + url: https://api.datadoghq.com/api/v1/dashboard/lists/manual + response: + body: '{"author":{"name":null,"handle":"frog@datadoghq.com"},"created":"2023-02-16T21:10:17.185865+00:00","dashboards":null,"dashboard_count":0,"id":364491,"is_favorite":false,"modified":"2023-02-16T21:10:17.185872+00:00","name":"Test-Get_all_dashboard_lists_returns_OK_response-1676581817","type":"manual_dashboard_list"} + + ' + code: 200 + duration: '' + headers: + Content-Type: + - application/json + status: 200 OK - request: body: '' form: {} @@ -8,23 +29,27 @@ interactions: method: GET url: https://api.datadoghq.com/api/v1/dashboard/lists/manual response: - body: '{"dashboard_lists":[{"is_favorite":true,"name":"frog''s List","dashboard_count":0,"author":{"handle":"frog@datadoghq.com","name":null},"created":"2020-09-08T07:12:57.679027+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2020-09-09T08:48:11.523877+00:00","id":126798},{"is_favorite":false,"name":"Test-Create_a_dashboard_list_returns_OK_response-1640112901","dashboard_count":0,"author":{"handle":"frog@datadoghq.com","name":null},"created":"2021-12-21T18:55:02.067838+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-12-21T18:55:02.067874+00:00","id":266996},{"is_favorite":false,"name":"Test-Python-Create_a_dashboard_list_returns_OK_response-1638987026","dashboard_count":0,"author":{"handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","name":"CI - Account"},"created":"2021-12-08T18:10:26.626691+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-12-08T18:10:26.626722+00:00","id":262166},{"is_favorite":false,"name":"Test-Python-Delete_a_dashboard_list_returns_OK_response-1638987033","dashboard_count":0,"author":{"handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","name":"CI - Account"},"created":"2021-12-08T18:10:33.174397+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-12-08T18:10:33.174422+00:00","id":262168},{"is_favorite":false,"name":"Test-Python-Get_a_dashboard_list_returns_OK_response-1638987029","dashboard_count":0,"author":{"handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","name":"CI - Account"},"created":"2021-12-08T18:10:29.487202+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-12-08T18:10:29.487230+00:00","id":262167},{"is_favorite":false,"name":"Test-Python-Update_a_dashboard_list_returns_OK_response-1638987040","dashboard_count":0,"author":{"handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","name":"CI - Account"},"created":"2021-12-08T18:10:40.138195+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-12-08T18:10:40.138221+00:00","id":262169},{"is_favorite":false,"name":"Test-Typescript-Create_a_dashboard_list_returns_OK_response-1640111482","dashboard_count":0,"author":{"handle":"frog@datadoghq.com","name":null},"created":"2021-12-21T18:31:22.557855+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-12-21T18:31:22.557886+00:00","id":266953},{"is_favorite":false,"name":"Test-Typescript-Create_a_dashboard_list_returns_OK_response-1640112717","dashboard_count":0,"author":{"handle":"frog@datadoghq.com","name":null},"created":"2021-12-21T18:51:57.727820+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-12-21T18:51:57.727845+00:00","id":266992},{"is_favorite":false,"name":"Test-Typescript-Create_a_dashboard_list_returns_OK_response-1640117958","dashboard_count":0,"author":{"handle":"frog@datadoghq.com","name":null},"created":"2021-12-21T20:19:18.398658+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-12-21T20:19:18.398694+00:00","id":267026},{"is_favorite":false,"name":"tf-TestDatadogDashListInDashboardJSON-82057-1637759559","dashboard_count":0,"author":{"handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","name":"CI - Account"},"created":"2021-11-24T13:12:42.098978+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-11-24T13:12:42.099008+00:00","id":257787},{"is_favorite":false,"name":"updated - Test-Typescript-Update_a_dashboard_list_returns_OK_response-1637674353","dashboard_count":0,"author":{"handle":"frog@datadoghq.com","name":null},"created":"2021-11-23T13:32:34.191937+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-11-23T13:32:34.723130+00:00","id":257383},{"is_favorite":false,"name":"updated - Test-Update_a_dashboard_list_returns_OK_response-1633007463","dashboard_count":0,"author":{"handle":"frog@datadoghq.com","name":null},"created":"2021-09-30T13:11:04.010648+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-09-30T13:11:04.132209+00:00","id":240358},{"is_favorite":false,"name":"updated - Test-Update_a_dashboard_list_returns_OK_response-1633075858","dashboard_count":0,"author":{"handle":"frog@datadoghq.com","name":null},"created":"2021-10-01T08:10:58.489385+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-10-01T08:10:58.877699+00:00","id":240504},{"is_favorite":false,"name":"updated - Test-Update_a_dashboard_list_returns_OK_response-1633075932","dashboard_count":0,"author":{"handle":"frog@datadoghq.com","name":null},"created":"2021-10-01T08:12:12.424522+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-10-01T08:12:12.666891+00:00","id":240508},{"is_favorite":false,"name":"updated - Test-Update_a_dashboard_list_returns_OK_response-1637061196","dashboard_count":0,"author":{"handle":"frog@datadoghq.com","name":null},"created":"2021-11-16T11:13:21.037425+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-11-16T11:13:21.427449+00:00","id":255183},{"is_favorite":false,"name":"updated - Test-Update_a_dashboard_list_returns_OK_response-1637062271","dashboard_count":0,"author":{"handle":"frog@datadoghq.com","name":null},"created":"2021-11-16T11:31:14.325320+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-11-16T11:31:14.670076+00:00","id":255191},{"is_favorite":false,"name":"updated - Test-Update_a_dashboard_list_returns_OK_response-1637063263","dashboard_count":0,"author":{"handle":"frog@datadoghq.com","name":null},"created":"2021-11-16T11:47:45.464601+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-11-16T11:47:45.942232+00:00","id":255196},{"is_favorite":false,"name":"updated - Test-Update_a_dashboard_list_returns_OK_response-1637070426","dashboard_count":0,"author":{"handle":"frog@datadoghq.com","name":null},"created":"2021-11-16T13:47:09.107719+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-11-16T13:47:09.532441+00:00","id":255273},{"is_favorite":false,"name":"updated - Test-Update_a_dashboard_list_returns_OK_response-1637077860","dashboard_count":0,"author":{"handle":"frog@datadoghq.com","name":null},"created":"2021-11-16T15:51:01.035434+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-11-16T15:51:01.480129+00:00","id":255388},{"is_favorite":false,"name":"updated - Test-Update_a_dashboard_list_returns_OK_response-1637078373","dashboard_count":0,"author":{"handle":"frog@datadoghq.com","name":null},"created":"2021-11-16T15:59:34.292076+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-11-16T15:59:34.662062+00:00","id":255393},{"is_favorite":false,"name":"updated - Test-Update_a_dashboard_list_returns_OK_response-1637141108","dashboard_count":0,"author":{"handle":"frog@datadoghq.com","name":null},"created":"2021-11-17T09:25:11.229062+00:00","type":"manual_dashboard_list","dashboards":null,"modified":"2021-11-17T09:25:11.690913+00:00","id":255558}]}' + body: '{"dashboard_lists":[{"author":{"name":null,"handle":"frog@datadoghq.com"},"created":"2023-02-16T21:10:17.185865+00:00","dashboards":null,"dashboard_count":0,"id":364491,"is_favorite":false,"modified":"2023-02-16T21:10:17.185872+00:00","name":"Test-Get_all_dashboard_lists_returns_OK_response-1676581817","type":"manual_dashboard_list"},{"author":{"name":null,"handle":"frog@datadoghq.com"},"created":"2022-12-09T15:04:28.806069+00:00","dashboards":null,"dashboard_count":1,"id":348463,"is_favorite":false,"modified":"2022-12-09T15:04:29.985883+00:00","name":"Test-Go-TestDashboardListItemCRUD-1670598268","type":"manual_dashboard_list"}]} + + ' + code: 200 + duration: '' + headers: + Content-Type: + - application/json + status: 200 OK +- request: + body: '' + form: {} + headers: + Accept: + - application/json + method: DELETE + url: https://api.datadoghq.com/api/v1/dashboard/lists/manual/364491 + response: + body: '{"deleted_dashboard_list_id":364491} + + ' code: 200 duration: '' headers: diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.freeze index 3e445cbb73b..3c1ae32d5f6 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.freeze @@ -1 +1 @@ -2022-09-12T20:05:48.730Z \ No newline at end of file +2023-02-16T21:39:58.391Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.yaml index 11f64299662..41dba30801f 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_defaults_returns_OK_response.yaml @@ -11,7 +11,7 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":null,"restricted_roles":[],"author_name":null,"template_variables":[{"prefix":"host","defaults":["my-host"],"available_values":["my-host","host1","host2"],"name":"host1"}],"is_read_only":false,"id":"39h-cn5-kyd","title":"","url":"/dashboard/39h-cn5-kyd/","created_at":"2022-09-12T20:05:49.753763+00:00","modified_at":"2022-09-12T20:05:49.753763+00:00","reflow_type":"auto","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"},"id":4911408545233424}],"layout_type":"ordered"} + body: '{"id":"h5n-j24-t82","title":"","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/h5n-j24-t82/","is_read_only":false,"template_variables":[{"available_values":["my-host","host1","host2"],"defaults":["my-host"],"name":"host1","prefix":"host"}],"widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"},"id":355816329429238}],"notify_list":[],"created_at":"2023-02-16T21:39:58.588908+00:00","modified_at":"2023-02-16T21:39:58.588908+00:00","reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -27,9 +27,9 @@ interactions: Accept: - application/json method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/39h-cn5-kyd + url: https://api.datadoghq.com/api/v1/dashboard/h5n-j24-t82 response: - body: '{"deleted_dashboard_id":"39h-cn5-kyd"} + body: '{"deleted_dashboard_id":"h5n-j24-t82"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.freeze index f502316d52c..25618da8e03 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.freeze @@ -1 +1 @@ -2022-09-12T20:05:50.228Z \ No newline at end of file +2023-02-16T21:40:06.384Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.yaml index 8b5dc8b154c..b37d0725607 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Create_a_new_dashboard_with_template_variable_presets_using_values_returns_OK_response.yaml @@ -11,8 +11,8 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":[],"description":null,"restricted_roles":[],"author_name":null,"template_variable_presets":[{"template_variables":[{"values":["*","my-host"],"name":"datacenter"}],"name":"my - saved view"}],"template_variables":[{"prefix":"host","defaults":["my-host"],"available_values":["my-host","host1","host2"],"name":"host1"}],"is_read_only":false,"id":"6j2-ja3-r9z","title":"","url":"/dashboard/6j2-ja3-r9z/","created_at":"2022-09-12T20:05:50.380181+00:00","modified_at":"2022-09-12T20:05:50.380181+00:00","reflow_type":"auto","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"},"id":8337056750682432}],"layout_type":"ordered"} + body: '{"id":"y9d-w7h-s59","title":"","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/y9d-w7h-s59/","is_read_only":false,"template_variables":[{"available_values":["my-host","host1","host2"],"defaults":["my-host"],"name":"host1","prefix":"host"}],"widgets":[{"definition":{"requests":{"fill":{"q":"avg:system.cpu.user{*}"}},"type":"hostmap"},"id":3953978643250660}],"notify_list":[],"created_at":"2023-02-16T21:40:06.587858+00:00","modified_at":"2023-02-16T21:40:06.587858+00:00","template_variable_presets":[{"name":"my + saved view","template_variables":[{"name":"datacenter","values":["*","my-host"]}]}],"reflow_type":"auto","restricted_roles":[]} ' code: 200 @@ -28,9 +28,9 @@ interactions: Accept: - application/json method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/6j2-ja3-r9z + url: https://api.datadoghq.com/api/v1/dashboard/y9d-w7h-s59 response: - body: '{"deleted_dashboard_id":"6j2-ja3-r9z"} + body: '{"deleted_dashboard_id":"y9d-w7h-s59"} ' code: 200 diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_all_dashboards_returns_OK_response.freeze b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_all_dashboards_returns_OK_response.freeze index 0428a0f09f0..f09a44decb0 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_all_dashboards_returns_OK_response.freeze +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_all_dashboards_returns_OK_response.freeze @@ -1 +1 @@ -2022-01-06T00:50:43.652Z \ No newline at end of file +2023-02-16T21:47:50.042Z \ No newline at end of file diff --git a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_all_dashboards_returns_OK_response.yaml b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_all_dashboards_returns_OK_response.yaml index 0621f1aa87d..2820bde4d75 100644 --- a/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_all_dashboards_returns_OK_response.yaml +++ b/tests/scenarios/cassettes/TestScenarios/v1/Feature_Dashboards/Scenario_Get_all_dashboards_returns_OK_response.yaml @@ -1,7 +1,7 @@ interactions: - request: body: | - {"layout_type":"ordered","title":"Test-Get_all_dashboards_returns_OK_response-1641430243 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} + {"layout_type":"ordered","title":"Test-Get_all_dashboards_returns_OK_response-1676584070 with Profile Metrics Query","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"}}]} form: {} headers: Accept: @@ -11,8 +11,10 @@ interactions: method: POST url: https://api.datadoghq.com/api/v1/dashboard response: - body: '{"notify_list":null,"description":null,"restricted_roles":[],"author_name":null,"template_variables":null,"is_read_only":false,"id":"h7i-mjy-78u","title":"Test-Get_all_dashboards_returns_OK_response-1641430243 - with Profile Metrics Query","url":"/dashboard/h7i-mjy-78u/test-getalldashboardsreturnsokresponse-1641430243-with-profile-metrics-query","created_at":"2022-01-06T00:50:43.864194+00:00","modified_at":"2022-01-06T00:50:43.864194+00:00","author_handle":"frog@datadoghq.com","widgets":[{"definition":{"requests":[{"profile_metrics_query":{"search":{"query":"runtime:jvm"},"group_by":[{"facet":"service","sort":{"facet":"@prof_core_cpu_cores","aggregation":"sum","order":"desc"},"limit":10}],"compute":{"facet":"@prof_core_cpu_cores","aggregation":"sum"}}}],"type":"timeseries"},"id":2449099635020633}],"layout_type":"ordered"}' + body: '{"id":"npw-6di-usv","title":"Test-Get_all_dashboards_returns_OK_response-1676584070 + with Profile Metrics Query","description":null,"author_handle":"frog@datadoghq.com","author_name":null,"layout_type":"ordered","url":"/dashboard/npw-6di-usv/test-getalldashboardsreturnsokresponse-1676584070-with-profile-metrics-query","is_read_only":false,"template_variables":null,"widgets":[{"definition":{"requests":[{"profile_metrics_query":{"compute":{"aggregation":"sum","facet":"@prof_core_cpu_cores"},"group_by":[{"facet":"service","limit":10,"sort":{"aggregation":"sum","facet":"@prof_core_cpu_cores","order":"desc"}}],"search":{"query":"runtime:jvm"}}}],"type":"timeseries"},"id":687274237501398}],"notify_list":null,"created_at":"2023-02-16T21:47:50.216943+00:00","modified_at":"2023-02-16T21:47:50.216943+00:00","restricted_roles":[]} + + ' code: 200 duration: '' headers: @@ -28,79 +30,10 @@ interactions: method: GET url: https://api.datadoghq.com/api/v1/dashboard?filter%5Bshared%5D=false response: - body: '{"dashboards":[{"created_at":"2021-12-15T14:39:24.510324+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":"This - dashboard provides deep visibility into your AWS RDS PostgreSQL database by - visualizing metrics from the PostgreSQL database engine alongside resource metrics - from your AWS infrastructure. Further reading on AWS RDS PostgreSQL monitoring:\n\n- - [Datadog''s guide to key AWS RDS PostgreSQL metrics](https://www.datadoghq.com/blog/aws-rds-postgresql-monitoring/)\n\n- - [How to collect AWS RDS metrics from CloudWatch and the PostgreSQL database - engine](https://www.datadoghq.com/blog/collect-rds-metrics-for-postgresql/)\n\n- - [How to monitor AWS RDS PostgreSQL with Datadog](https://www.datadoghq.com/blog/postgresql-rds-monitoring-datadog/)\n\n- - [Datadog''s AWS RDS integration docs](https://docs.datadoghq.com/integrations/amazon_rds/)\n\nClone - this template dashboard to make changes and add your own graph widgets. (cloned)","title":"Wisdom","url":"/dashboard/bru-u6k-rjq/wisdom","layout_type":"free","modified_at":"2021-12-15T16:54:32.046189+00:00","id":"bru-u6k-rjq"},{"created_at":"2022-01-06T00:50:43.864194+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Get_all_dashboards_returns_OK_response-1641430243 - with Profile Metrics Query","url":"/dashboard/h7i-mjy-78u/test-getalldashboardsreturnsokresponse-1641430243-with-profile-metrics-query","layout_type":"ordered","modified_at":"2022-01-06T00:50:43.864194+00:00","id":"h7i-mjy-78u"},{"created_at":"2022-01-05T23:40:51.316245+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":"","title":"Test-Create_a_new_dashboard_with_slo_widget-1641426050","url":"/dashboard/847-vzh-4xh/test-createanewdashboardwithslowidget-1641426050","layout_type":"free","modified_at":"2022-01-05T23:40:51.316245+00:00","id":"847-vzh-4xh"},{"created_at":"2022-01-05T12:11:53.130247+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":"","title":"Test-Create_a_new_dashboard_with_slo_widget-1641384712","url":"/dashboard/au3-3ei-vs9/test-createanewdashboardwithslowidget-1641384712","layout_type":"free","modified_at":"2022-01-05T12:11:53.130247+00:00","id":"au3-3ei-vs9"},{"created_at":"2021-12-25T14:11:38.785869+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Example-Create_a_new_dashboard_with_sunburst_widget_and_metrics_data_1640441498","url":"/dashboard/bqy-2qp-fnm/example-createanewdashboardwithsunburstwidgetandmetricsdata1640441498","layout_type":"ordered","modified_at":"2021-12-25T14:11:38.785869+00:00","id":"bqy-2qp-fnm"},{"created_at":"2021-12-25T14:11:37.041044+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Example-Create_a_new_dashboard_with_a_formulas_and_functions_change_widget_1640441496","url":"/dashboard/xbd-h6a-2eh/example-createanewdashboardwithaformulasandfunctionschangewidget1640441496","layout_type":"ordered","modified_at":"2021-12-25T14:11:37.041044+00:00","id":"xbd-h6a-2eh"},{"created_at":"2021-12-25T14:11:36.558454+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Example-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes_1640441496 - with timeseries widget","url":"/dashboard/3se-ifm-j39/example-createanewdashboardwithtimeserieswidgetcontainingstyleattributes16404414","layout_type":"ordered","modified_at":"2021-12-25T14:11:36.558454+00:00","id":"3se-ifm-j39"},{"created_at":"2021-12-21T20:19:21.682075+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1640117961 - with timeseries widget","url":"/dashboard/ttc-3xd-hkf/test-typescript-createanewdashboardwithtimeserieswidgetcontainingstyleattributes","layout_type":"ordered","modified_at":"2021-12-21T20:19:21.682075+00:00","id":"ttc-3xd-hkf"},{"created_at":"2021-12-21T20:19:21.537181+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_list_stream_widget-1640117961 - with list_stream widget","url":"/dashboard/2ce-kwn-jni/test-typescript-createanewdashboardwithliststreamwidget-1640117961-with-liststre","layout_type":"ordered","modified_at":"2021-12-21T20:19:21.537181+00:00","id":"2ce-kwn-jni"},{"created_at":"2021-12-21T20:19:21.408390+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_funnel_widget-1640117961 - with funnel widget","url":"/dashboard/5g3-4vg-kc4/test-typescript-createanewdashboardwithfunnelwidget-1640117961-with-funnel-widge","layout_type":"ordered","modified_at":"2021-12-21T20:19:21.408390+00:00","id":"5g3-4vg-kc4"},{"created_at":"2021-12-21T20:19:21.273514+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget-1640117961","url":"/dashboard/c72-63m-4mb/test-typescript-createanewdashboardwithformulasandfunctionsscatterplotwidget-164","layout_type":"ordered","modified_at":"2021-12-21T20:19:21.273514+00:00","id":"c72-63m-4mb"},{"created_at":"2021-12-21T20:19:21.037327+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data-1640117960","url":"/dashboard/i35-x3g-97i/test-typescript-createanewdashboardwithdistributionwidgetandapmstatsdata-1640117","layout_type":"ordered","modified_at":"2021-12-21T20:19:21.037327+00:00","id":"i35-x3g-97i"},{"created_at":"2021-12-21T20:19:20.870360+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_apm_resource_stats_widget-1640117960","url":"/dashboard/jfm-ipt-zd2/test-typescript-createanewdashboardwithapmresourcestatswidget-1640117960","layout_type":"ordered","modified_at":"2021-12-21T20:19:20.870360+00:00","id":"jfm-ipt-zd2"},{"created_at":"2021-12-21T20:19:20.716685+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_apm_dependency_stats_widget-1640117960","url":"/dashboard/btb-c95-q4d/test-typescript-createanewdashboardwithapmdependencystatswidget-1640117960","layout_type":"ordered","modified_at":"2021-12-21T20:19:20.716685+00:00","id":"btb-c95-q4d"},{"created_at":"2021-12-21T20:19:20.542915+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_an_audit_logs_query-1640117960 - with Audit Logs Query","url":"/dashboard/j66-p8a-6xr/test-typescript-createanewdashboardwithanauditlogsquery-1640117960-with-audit-lo","layout_type":"ordered","modified_at":"2021-12-21T20:19:20.542915+00:00","id":"j66-p8a-6xr"},{"created_at":"2021-12-21T20:19:20.388207+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator-1640117960 - with QVW Percentile Aggregator","url":"/dashboard/az2-zmu-8z7/test-typescript-createanewdashboardwithaqueryvaluewidgetusingthepercentileaggreg","layout_type":"ordered","modified_at":"2021-12-21T20:19:20.388207+00:00","id":"az2-zmu-8z7"},{"created_at":"2021-12-21T20:19:20.193255+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_a_formulas_and_functions_change_widget-1640117960","url":"/dashboard/97h-5gr-cng/test-typescript-createanewdashboardwithaformulasandfunctionschangewidget-1640117","layout_type":"ordered","modified_at":"2021-12-21T20:19:20.193255+00:00","id":"97h-5gr-cng"},{"created_at":"2021-12-21T20:19:20.035319+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_returns_OK_response-1640117959 - with Profile Metrics Query","url":"/dashboard/x9t-4gy-zbd/test-typescript-createanewdashboardreturnsokresponse-1640117959-with-profile-met","layout_type":"ordered","modified_at":"2021-12-21T20:19:20.035319+00:00","id":"x9t-4gy-zbd"},{"created_at":"2021-12-21T18:55:05.778217+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1640112905 - with timeseries widget","url":"/dashboard/xg6-rmu-dvb/test-createanewdashboardwithtimeserieswidgetcontainingstyleattributes-1640112905","layout_type":"ordered","modified_at":"2021-12-21T18:55:05.778217+00:00","id":"xg6-rmu-dvb"},{"created_at":"2021-12-21T18:55:05.555810+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Create_a_new_dashboard_with_list_stream_widget-1640112905 - with list_stream widget","url":"/dashboard/sah-fjc-psm/test-createanewdashboardwithliststreamwidget-1640112905-with-liststream-widget","layout_type":"ordered","modified_at":"2021-12-21T18:55:05.555810+00:00","id":"sah-fjc-psm"},{"created_at":"2021-12-21T18:55:05.189413+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Create_a_new_dashboard_with_funnel_widget-1640112904 - with funnel widget","url":"/dashboard/wyg-ifc-wgp/test-createanewdashboardwithfunnelwidget-1640112904-with-funnel-widget","layout_type":"ordered","modified_at":"2021-12-21T18:55:05.189413+00:00","id":"wyg-ifc-wgp"},{"created_at":"2021-12-21T18:55:04.941784+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget-1640112904","url":"/dashboard/5ku-gm5-fxz/test-createanewdashboardwithformulasandfunctionsscatterplotwidget-1640112904","layout_type":"ordered","modified_at":"2021-12-21T18:55:04.941784+00:00","id":"5ku-gm5-fxz"},{"created_at":"2021-12-21T18:55:04.725409+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data-1640112904","url":"/dashboard/2ky-dan-fer/test-createanewdashboardwithdistributionwidgetandapmstatsdata-1640112904","layout_type":"ordered","modified_at":"2021-12-21T18:55:04.725409+00:00","id":"2ky-dan-fer"},{"created_at":"2021-12-21T18:55:04.503249+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Create_a_new_dashboard_with_apm_resource_stats_widget-1640112904","url":"/dashboard/bgg-xpj-93y/test-createanewdashboardwithapmresourcestatswidget-1640112904","layout_type":"ordered","modified_at":"2021-12-21T18:55:04.503249+00:00","id":"bgg-xpj-93y"},{"created_at":"2021-12-21T18:55:04.214906+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Create_a_new_dashboard_with_apm_dependency_stats_widget-1640112904","url":"/dashboard/axt-ihw-ke6/test-createanewdashboardwithapmdependencystatswidget-1640112904","layout_type":"ordered","modified_at":"2021-12-21T18:55:04.214906+00:00","id":"axt-ihw-ke6"},{"created_at":"2021-12-21T18:55:03.912308+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Create_a_new_dashboard_with_an_audit_logs_query-1640112903 - with Audit Logs Query","url":"/dashboard/h5w-gm3-zp7/test-createanewdashboardwithanauditlogsquery-1640112903-with-audit-logs-query","layout_type":"ordered","modified_at":"2021-12-21T18:55:03.912308+00:00","id":"h5w-gm3-zp7"},{"created_at":"2021-12-21T18:55:03.620964+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator-1640112903 - with QVW Percentile Aggregator","url":"/dashboard/jay-m78-977/test-createanewdashboardwithaqueryvaluewidgetusingthepercentileaggregator-164011","layout_type":"ordered","modified_at":"2021-12-21T18:55:03.620964+00:00","id":"jay-m78-977"},{"created_at":"2021-12-21T18:55:03.462929+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Create_a_new_dashboard_with_a_formulas_and_functions_change_widget-1640112903","url":"/dashboard/x52-ua2-tr5/test-createanewdashboardwithaformulasandfunctionschangewidget-1640112903","layout_type":"ordered","modified_at":"2021-12-21T18:55:03.462929+00:00","id":"x52-ua2-tr5"},{"created_at":"2021-12-21T18:55:03.310016+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Create_a_new_dashboard_returns_OK_response-1640112903 - with Profile Metrics Query","url":"/dashboard/nhn-qsh-7wi/test-createanewdashboardreturnsokresponse-1640112903-with-profile-metrics-query","layout_type":"ordered","modified_at":"2021-12-21T18:55:03.310016+00:00","id":"nhn-qsh-7wi"},{"created_at":"2021-12-21T18:52:01.694087+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1640112721 - with timeseries widget","url":"/dashboard/irb-de9-fj3/test-typescript-createanewdashboardwithtimeserieswidgetcontainingstyleattributes","layout_type":"ordered","modified_at":"2021-12-21T18:52:01.694087+00:00","id":"irb-de9-fj3"},{"created_at":"2021-12-21T18:52:01.525703+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_list_stream_widget-1640112721 - with list_stream widget","url":"/dashboard/aur-nch-6z2/test-typescript-createanewdashboardwithliststreamwidget-1640112721-with-liststre","layout_type":"ordered","modified_at":"2021-12-21T18:52:01.525703+00:00","id":"aur-nch-6z2"},{"created_at":"2021-12-21T18:52:01.399887+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_funnel_widget-1640112721 - with funnel widget","url":"/dashboard/y9r-rzx-p7z/test-typescript-createanewdashboardwithfunnelwidget-1640112721-with-funnel-widge","layout_type":"ordered","modified_at":"2021-12-21T18:52:01.399887+00:00","id":"y9r-rzx-p7z"},{"created_at":"2021-12-21T18:52:01.174857+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget-1640112720","url":"/dashboard/hqv-bmm-6wh/test-typescript-createanewdashboardwithformulasandfunctionsscatterplotwidget-164","layout_type":"ordered","modified_at":"2021-12-21T18:52:01.174857+00:00","id":"hqv-bmm-6wh"},{"created_at":"2021-12-21T18:52:00.739554+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data-1640112720","url":"/dashboard/a7m-4yb-6et/test-typescript-createanewdashboardwithdistributionwidgetandapmstatsdata-1640112","layout_type":"ordered","modified_at":"2021-12-21T18:52:00.739554+00:00","id":"a7m-4yb-6et"},{"created_at":"2021-12-21T18:52:00.582486+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_apm_resource_stats_widget-1640112720","url":"/dashboard/ygt-ufy-574/test-typescript-createanewdashboardwithapmresourcestatswidget-1640112720","layout_type":"ordered","modified_at":"2021-12-21T18:52:00.582486+00:00","id":"ygt-ufy-574"},{"created_at":"2021-12-21T18:52:00.371066+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_apm_dependency_stats_widget-1640112720","url":"/dashboard/ahy-xgy-xqx/test-typescript-createanewdashboardwithapmdependencystatswidget-1640112720","layout_type":"ordered","modified_at":"2021-12-21T18:52:00.371066+00:00","id":"ahy-xgy-xqx"},{"created_at":"2021-12-21T18:52:00.196349+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_an_audit_logs_query-1640112720 - with Audit Logs Query","url":"/dashboard/8ya-34b-dwg/test-typescript-createanewdashboardwithanauditlogsquery-1640112720-with-audit-lo","layout_type":"ordered","modified_at":"2021-12-21T18:52:00.196349+00:00","id":"8ya-34b-dwg"},{"created_at":"2021-12-21T18:52:00.011841+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator-1640112719 - with QVW Percentile Aggregator","url":"/dashboard/xyj-tns-3g3/test-typescript-createanewdashboardwithaqueryvaluewidgetusingthepercentileaggreg","layout_type":"ordered","modified_at":"2021-12-21T18:52:00.011841+00:00","id":"xyj-tns-3g3"},{"created_at":"2021-12-21T18:51:59.850232+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_a_formulas_and_functions_change_widget-1640112719","url":"/dashboard/cy4-m7f-sp4/test-typescript-createanewdashboardwithaformulasandfunctionschangewidget-1640112","layout_type":"ordered","modified_at":"2021-12-21T18:51:59.850232+00:00","id":"cy4-m7f-sp4"},{"created_at":"2021-12-21T18:51:59.646612+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_returns_OK_response-1640112719 - with Profile Metrics Query","url":"/dashboard/tb4-b9u-2e4/test-typescript-createanewdashboardreturnsokresponse-1640112719-with-profile-met","layout_type":"ordered","modified_at":"2021-12-21T18:51:59.646612+00:00","id":"tb4-b9u-2e4"},{"created_at":"2021-12-21T18:31:27.217470+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_timeseries_widget_containing_style_attributes-1640111487 - with timeseries widget","url":"/dashboard/3yy-pcm-g2v/test-typescript-createanewdashboardwithtimeserieswidgetcontainingstyleattributes","layout_type":"ordered","modified_at":"2021-12-21T18:31:27.217470+00:00","id":"3yy-pcm-g2v"},{"created_at":"2021-12-21T18:31:27.031403+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_list_stream_widget-1640111486 - with list_stream widget","url":"/dashboard/8g5-czb-yvh/test-typescript-createanewdashboardwithliststreamwidget-1640111486-with-liststre","layout_type":"ordered","modified_at":"2021-12-21T18:31:27.031403+00:00","id":"8g5-czb-yvh"},{"created_at":"2021-12-21T18:31:26.887015+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_funnel_widget-1640111486 - with funnel widget","url":"/dashboard/nyb-9fe-jzd/test-typescript-createanewdashboardwithfunnelwidget-1640111486-with-funnel-widge","layout_type":"ordered","modified_at":"2021-12-21T18:31:26.887015+00:00","id":"nyb-9fe-jzd"},{"created_at":"2021-12-21T18:31:26.723244+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_formulas_and_functions_scatterplot_widget-1640111486","url":"/dashboard/qyi-yf6-wyc/test-typescript-createanewdashboardwithformulasandfunctionsscatterplotwidget-164","layout_type":"ordered","modified_at":"2021-12-21T18:31:26.723244+00:00","id":"qyi-yf6-wyc"},{"created_at":"2021-12-21T18:31:26.542894+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data-1640111486","url":"/dashboard/4yr-zbc-ggx/test-typescript-createanewdashboardwithdistributionwidgetandapmstatsdata-1640111","layout_type":"ordered","modified_at":"2021-12-21T18:31:26.542894+00:00","id":"4yr-zbc-ggx"},{"created_at":"2021-12-21T18:31:26.375949+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_apm_resource_stats_widget-1640111486","url":"/dashboard/qhc-jmw-ekg/test-typescript-createanewdashboardwithapmresourcestatswidget-1640111486","layout_type":"ordered","modified_at":"2021-12-21T18:31:26.375949+00:00","id":"qhc-jmw-ekg"},{"created_at":"2021-12-21T18:31:26.091520+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_apm_dependency_stats_widget-1640111485","url":"/dashboard/u8s-2fq-kx2/test-typescript-createanewdashboardwithapmdependencystatswidget-1640111485","layout_type":"ordered","modified_at":"2021-12-21T18:31:26.091520+00:00","id":"u8s-2fq-kx2"},{"created_at":"2021-12-21T18:31:25.770371+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_an_audit_logs_query-1640111485 - with Audit Logs Query","url":"/dashboard/zk2-u47-33e/test-typescript-createanewdashboardwithanauditlogsquery-1640111485-with-audit-lo","layout_type":"ordered","modified_at":"2021-12-21T18:31:25.770371+00:00","id":"zk2-u47-33e"},{"created_at":"2021-12-21T18:31:25.583793+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator-1640111485 - with QVW Percentile Aggregator","url":"/dashboard/uke-7e2-i7w/test-typescript-createanewdashboardwithaqueryvaluewidgetusingthepercentileaggreg","layout_type":"ordered","modified_at":"2021-12-21T18:31:25.583793+00:00","id":"uke-7e2-i7w"},{"created_at":"2021-12-21T18:31:25.393310+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_a_formulas_and_functions_change_widget-1640111485","url":"/dashboard/kr9-tsg-vsq/test-typescript-createanewdashboardwithaformulasandfunctionschangewidget-1640111","layout_type":"ordered","modified_at":"2021-12-21T18:31:25.393310+00:00","id":"kr9-tsg-vsq"},{"created_at":"2021-12-21T18:31:25.206542+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_returns_OK_response-1640111485 - with Profile Metrics Query","url":"/dashboard/msy-u3b-7b7/test-typescript-createanewdashboardreturnsokresponse-1640111485-with-profile-met","layout_type":"ordered","modified_at":"2021-12-21T18:31:25.206542+00:00","id":"msy-u3b-7b7"},{"created_at":"2021-12-17T22:36:55.747962+00:00","author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_distribution_widget_and_apm_stats_data-1639780615","url":"/dashboard/x3q-yvt-sfq/test-typescript-createanewdashboardwithdistributionwidgetandapmstatsdata-1639780","layout_type":"ordered","modified_at":"2021-12-17T22:36:55.747962+00:00","id":"x3q-yvt-sfq"},{"created_at":"2021-12-17T22:36:55.315881+00:00","author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","is_read_only":false,"description":null,"title":"Test-Typescript-Create_a_new_dashboard_with_apm_resource_stats_widget-1639780615","url":"/dashboard/7uf-hx8-txk/test-typescript-createanewdashboardwithapmresourcestatswidget-1639780615","layout_type":"ordered","modified_at":"2021-12-17T22:36:55.315881+00:00","id":"7uf-hx8-txk"},{"created_at":"2021-12-17T13:40:10.615801+00:00","author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","is_read_only":false,"description":null,"title":"Test-Ruby-Create_a_new_dashboard_with_apm_resource_stats_widget-1639748410","url":"/dashboard/dei-tt4-qx6/test-ruby-createanewdashboardwithapmresourcestatswidget-1639748410","layout_type":"ordered","modified_at":"2021-12-17T13:40:10.615801+00:00","id":"dei-tt4-qx6"},{"created_at":"2021-12-16T15:22:08.848996+00:00","author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","is_read_only":false,"description":null,"title":"Test-Java-Create_a_new_dashboard_with_list_stream_widget-1639668128 - with list_stream widget","url":"/dashboard/6ph-m2r-tc8/test-java-createanewdashboardwithliststreamwidget-1639668128-with-liststream-wid","layout_type":"ordered","modified_at":"2021-12-16T15:22:08.848996+00:00","id":"6ph-m2r-tc8"},{"created_at":"2021-12-14T17:04:04.280887+00:00","author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","is_read_only":false,"description":null,"title":"Test-Ruby-Create_a_new_dashboard_with_a_query_value_widget_using_the_percentile_aggregator-1639501444 - with QVW Percentile Aggregator","url":"/dashboard/48j-s6v-mzr/test-ruby-createanewdashboardwithaqueryvaluewidgetusingthepercentileaggregator-1","layout_type":"ordered","modified_at":"2021-12-14T17:04:04.280887+00:00","id":"48j-s6v-mzr"},{"created_at":"2021-05-17T08:32:02.449350+00:00","author_handle":"hippolyte.henry@datadoghq.com","is_read_only":false,"description":"Various - stats from CI runs of generated API clients","title":"Datadog API Clients CI","url":"/dashboard/4ud-du4-pi3/datadog-api-clients-ci","layout_type":"free","modified_at":"2021-05-17T08:32:02.449350+00:00","id":"4ud-du4-pi3"},{"created_at":"2021-05-14T14:17:22.284588+00:00","author_handle":"hippolyte.henry@datadoghq.com","is_read_only":false,"description":"Various - stats from CI runs of generated API clients","title":"Datadog API Clients CI","url":"/dashboard/8mr-z8r-xaq/datadog-api-clients-ci","layout_type":"free","modified_at":"2021-05-14T14:17:22.284588+00:00","id":"8mr-z8r-xaq"},{"created_at":"2021-05-14T14:17:13.784143+00:00","author_handle":"hippolyte.henry@datadoghq.com","is_read_only":false,"description":"Various - stats from CI runs of generated API clients","title":"Datadog API Clients CI","url":"/dashboard/795-wur-2am/datadog-api-clients-ci","layout_type":"free","modified_at":"2021-05-14T14:17:13.784143+00:00","id":"795-wur-2am"},{"created_at":"2021-05-12T09:05:51.875354+00:00","author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","is_read_only":false,"description":"Test - Free layout dashboard for Java client","title":"java-dashboardLifecycleTest-63315-1620810350-free","url":"/dashboard/c6b-m9f-qra/java-dashboardlifecycletest-63315-1620810350-free","layout_type":"free","modified_at":"2021-05-12T09:05:51.875354+00:00","id":"c6b-m9f-qra"},{"created_at":"2021-05-11T14:44:24.984417+00:00","author_handle":"hippolyte.henry@datadoghq.com","is_read_only":false,"description":"Various - stats from CI runs of generated API clients","title":"Datadog API Clients CI","url":"/dashboard/f4q-d9c-2nj/datadog-api-clients-ci","layout_type":"free","modified_at":"2021-05-11T14:44:24.984417+00:00","id":"f4q-d9c-2nj"},{"created_at":"2021-05-03T13:03:46.217614+00:00","author_handle":"frog@datadoghq.com","is_read_only":true,"description":null,"title":"OSLO: - splunk LB ","url":"/dashboard/b6n-d8r-7em/oslo-splunk-lb","layout_type":"free","modified_at":"2021-05-03T13:03:46.217614+00:00","id":"b6n-d8r-7em"},{"created_at":"2021-04-26T09:59:02.371956+00:00","author_handle":"hippolyte.henry@datadoghq.com","is_read_only":true,"description":null,"title":"OSLO: - systemid LB on starbug","url":"/dashboard/ntb-zhs-zc6/oslo-systemid-lb-on-starbug","layout_type":"free","modified_at":"2021-04-26T09:59:02.371956+00:00","id":"ntb-zhs-zc6"},{"created_at":"2021-04-26T09:58:20.982778+00:00","author_handle":"hippolyte.henry@datadoghq.com","is_read_only":true,"description":null,"title":"OSLO: - systemid LB on c2c","url":"/dashboard/je2-bwi-ces/oslo-systemid-lb-on-c2c","layout_type":"free","modified_at":"2021-04-26T09:58:20.982778+00:00","id":"je2-bwi-ces"},{"created_at":"2021-04-23T16:14:13.820995+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":"Created - using the Datadog provider in Terraform","title":"MM RBAC Dashboard","url":"/dashboard/6by-h9d-gui/mm-rbac-dashboard","layout_type":"ordered","modified_at":"2021-04-23T16:14:13.820995+00:00","id":"6by-h9d-gui"},{"created_at":"2021-04-23T16:04:56.337388+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":"Created - using the Datadog provider in Terraform","title":"MM RBAC Dashboard [0.11]","url":"/dashboard/kuj-pxv-rqh/mm-rbac-dashboard-011","layout_type":"ordered","modified_at":"2021-04-23T16:04:56.337388+00:00","id":"kuj-pxv-rqh"},{"created_at":"2021-04-16T08:27:11.505665+00:00","author_handle":"hippolyte.henry@datadoghq.com","is_read_only":false,"description":"","title":"Hippolyte''s - Screenboard Fri, Apr 16, 10:20:54 am","url":"/dashboard/f4a-76m-nbn/hippolytes-screenboard-fri-apr-16-102054-am","layout_type":"free","modified_at":"2021-04-16T08:49:08.310691+00:00","id":"f4a-76m-nbn"},{"created_at":"2021-04-16T08:20:54.758861+00:00","author_handle":"hippolyte.henry@datadoghq.com","is_read_only":false,"description":"","title":"Hippolyte''s - Screenboard Fri, Apr 16, 10:20:54 am","url":"/dashboard/9km-gj8-2rj/hippolytes-screenboard-fri-apr-16-102054-am","layout_type":"free","modified_at":"2021-04-16T08:21:08.649752+00:00","id":"9km-gj8-2rj"},{"created_at":"2021-04-15T16:42:07.677880+00:00","author_handle":"9919ec9b-ebc7-49ee-8dc8-03626e717cca","is_read_only":false,"description":"new_desc","title":"new_title","url":"/dashboard/j6w-fex-8fn/newtitle","layout_type":"free","modified_at":"2021-04-15T16:42:08.423227+00:00","id":"j6w-fex-8fn"},{"created_at":"2021-04-13T11:50:10.192480+00:00","author_handle":"frog@datadoghq.com","is_read_only":true,"description":"Created - using the Datadog provider in Terraform","title":"Ordered Layout Dashboard","url":"/dashboard/xc8-h6m-gyt/ordered-layout-dashboard","layout_type":"ordered","modified_at":"2021-04-13T11:50:38.881933+00:00","id":"xc8-h6m-gyt"},{"created_at":"2021-04-09T16:26:13.743066+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":"new_desc","title":"new_title","url":"/dashboard/7q8-wed-xaa/newtitle","layout_type":"free","modified_at":"2021-04-09T16:26:14.453324+00:00","id":"7q8-wed-xaa"},{"created_at":"2021-03-03T09:57:28.304302+00:00","author_handle":"hippolyte.henry@datadoghq.com","is_read_only":false,"description":"","title":"Hippolyte''s - Timeboard Wed, Mar 3, 10:57:28 am","url":"/dashboard/deh-2pa-jv8/hippolytes-timeboard-wed-mar-3-105728-am","layout_type":"ordered","modified_at":"2021-03-03T09:59:37.861240+00:00","id":"deh-2pa-jv8"},{"created_at":"2021-03-01T08:29:54.466356+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":null,"title":"datadog - test","url":"/dashboard/qn2-but-2r8/datadog-test","layout_type":"free","modified_at":"2021-03-01T08:29:54.466356+00:00","id":"qn2-but-2r8"},{"created_at":"2021-02-02T13:54:05.514952+00:00","author_handle":"frog@datadoghq.com","is_read_only":true,"description":"Created - using the Datadog provider in Terraform","title":"DL FF TF","url":"/dashboard/76m-n9x-wd4/dl-ff-tf","layout_type":"ordered","modified_at":"2021-02-02T13:54:05.514952+00:00","id":"76m-n9x-wd4"},{"created_at":"2021-01-21T14:01:08.820798+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":"new_desc","title":"new_title","url":"/dashboard/pu8-4pr-9v2/newtitle","layout_type":"ordered","modified_at":"2021-01-21T14:01:09.882536+00:00","id":"pu8-4pr-9v2"},{"created_at":"2021-01-21T11:01:38.594211+00:00","author_handle":"frog@datadoghq.com","is_read_only":false,"description":"new_desc","title":"new_title","url":"/dashboard/hsz-pvn-gie/newtitle","layout_type":"free","modified_at":"2021-01-21T11:01:39.149109+00:00","id":"hsz-pvn-gie"},{"created_at":"2021-01-06T16:34:52.946050+00:00","author_handle":"frog@datadoghq.com","is_read_only":true,"description":"Created - using the Datadog provider in Terraform","title":"Ordered Layout Dashboard","url":"/dashboard/4wp-g9w-rqp/ordered-layout-dashboard","layout_type":"ordered","modified_at":"2021-01-06T16:34:52.946050+00:00","id":"4wp-g9w-rqp"},{"created_at":"2021-01-06T10:48:02.242118+00:00","author_handle":"frog@datadoghq.com","is_read_only":true,"description":"Created - using the Datadog provider in Terraform","title":"Ordered Layout Dashboard","url":"/dashboard/qpy-d9b-2bv/ordered-layout-dashboard","layout_type":"ordered","modified_at":"2021-01-06T10:48:02.242118+00:00","id":"qpy-d9b-2bv"},{"created_at":"2021-01-06T10:40:07.910997+00:00","author_handle":"frog@datadoghq.com","is_read_only":true,"description":"Created - using the Datadog provider in Terraform","title":"Acceptance Test Log Stream - Widget Dashboard","url":"/dashboard/xue-5t2-hzf/acceptance-test-log-stream-widget-dashboard","layout_type":"free","modified_at":"2021-01-06T10:40:07.910997+00:00","id":"xue-5t2-hzf"},{"created_at":"2020-12-10T04:21:12.270024+00:00","author_handle":"gregory.zussa@datadoghq.com","is_read_only":true,"description":"Created - using the Datadog provider in Terraform","title":"Acceptance Test Event Timeline - Widget Dashboard","url":"/dashboard/74v-m9u-yzs/acceptance-test-event-timeline-widget-dashboard","layout_type":"free","modified_at":"2020-12-10T04:21:12.270024+00:00","id":"74v-m9u-yzs"},{"created_at":"2020-12-09T04:18:00.388550+00:00","author_handle":"gregory.zussa@datadoghq.com","is_read_only":false,"description":"Created - using the Datadog provider in Terraform","title":"Acceptance Test Timeboard","url":"/dashboard/ia3-mtz-d4e/acceptance-test-timeboard","layout_type":"ordered","modified_at":"2020-12-09T04:18:00.388550+00:00","id":"ia3-mtz-d4e"},{"created_at":"2020-02-11T13:49:29.555334+00:00","author_handle":"hippolyte.henry@datadoghq.com","is_read_only":true,"description":"","title":"For - dashboard list tests - DO NOT DELETE","url":"/dashboard/4n7-s4g-dqv/for-dashboard-list-tests---do-not-delete","layout_type":"free","modified_at":"2020-04-08T17:54:25.574039+00:00","id":"4n7-s4g-dqv"},{"created_at":"2020-04-06T04:04:04.865855+00:00","author_handle":"gregory.zussa@datadoghq.com","is_read_only":true,"description":"Created - using the Datadog provider in Terraform","title":"Acceptance Test Ordered Dashboard","url":"/dashboard/54k-cum-8qb/acceptance-test-ordered-dashboard","layout_type":"ordered","modified_at":"2020-04-06T04:04:04.865855+00:00","id":"54k-cum-8qb"},{"created_at":"2020-04-06T04:03:50.744728+00:00","author_handle":"gregory.zussa@datadoghq.com","is_read_only":true,"description":"Created - using the Datadog provider in Terraform","title":"Acceptance Test Ordered Dashboard","url":"/dashboard/wk2-g3v-33r/acceptance-test-ordered-dashboard","layout_type":"ordered","modified_at":"2020-04-06T04:03:50.744728+00:00","id":"wk2-g3v-33r"},{"created_at":"2020-04-05T04:13:50.808643+00:00","author_handle":"gregory.zussa@datadoghq.com","is_read_only":true,"description":"Created - using the Datadog provider in Terraform","title":"Acceptance Test Ordered Dashboard","url":"/dashboard/9r7-fdh-xwu/acceptance-test-ordered-dashboard","layout_type":"ordered","modified_at":"2020-04-05T04:13:50.808643+00:00","id":"9r7-fdh-xwu"},{"created_at":"2020-04-05T04:13:36.735119+00:00","author_handle":"gregory.zussa@datadoghq.com","is_read_only":true,"description":"Created - using the Datadog provider in Terraform","title":"Acceptance Test Ordered Dashboard","url":"/dashboard/k9n-fgv-7hc/acceptance-test-ordered-dashboard","layout_type":"ordered","modified_at":"2020-04-05T04:13:36.735119+00:00","id":"k9n-fgv-7hc"},{"created_at":"2020-04-04T04:04:08.417629+00:00","author_handle":"gregory.zussa@datadoghq.com","is_read_only":true,"description":"Created - using the Datadog provider in Terraform","title":"Acceptance Test Ordered Dashboard","url":"/dashboard/czj-47q-s3c/acceptance-test-ordered-dashboard","layout_type":"ordered","modified_at":"2020-04-04T04:04:08.417629+00:00","id":"czj-47q-s3c"},{"created_at":"2020-04-04T04:03:53.914921+00:00","author_handle":"gregory.zussa@datadoghq.com","is_read_only":true,"description":"Created - using the Datadog provider in Terraform","title":"Acceptance Test Ordered Dashboard","url":"/dashboard/dvc-5rc-k6a/acceptance-test-ordered-dashboard","layout_type":"ordered","modified_at":"2020-04-04T04:03:53.914921+00:00","id":"dvc-5rc-k6a"},{"created_at":"2020-04-03T04:04:29.189905+00:00","author_handle":"gregory.zussa@datadoghq.com","is_read_only":true,"description":"Created - using the Datadog provider in Terraform","title":"Acceptance Test Ordered Dashboard","url":"/dashboard/5t8-ttx-r56/acceptance-test-ordered-dashboard","layout_type":"ordered","modified_at":"2020-04-03T04:04:29.189905+00:00","id":"5t8-ttx-r56"},{"created_at":"2020-04-03T04:04:14.636126+00:00","author_handle":"gregory.zussa@datadoghq.com","is_read_only":true,"description":"Created - using the Datadog provider in Terraform","title":"Acceptance Test Ordered Dashboard","url":"/dashboard/gmt-szb-2re/acceptance-test-ordered-dashboard","layout_type":"ordered","modified_at":"2020-04-03T04:04:14.636126+00:00","id":"gmt-szb-2re"},{"created_at":"2020-04-02T04:04:03.269864+00:00","author_handle":"gregory.zussa@datadoghq.com","is_read_only":true,"description":"Created - using the Datadog provider in Terraform","title":"Acceptance Test Ordered Dashboard","url":"/dashboard/kct-4x4-w64/acceptance-test-ordered-dashboard","layout_type":"ordered","modified_at":"2020-04-02T04:04:03.269864+00:00","id":"kct-4x4-w64"},{"created_at":"2020-04-02T04:03:48.438649+00:00","author_handle":"gregory.zussa@datadoghq.com","is_read_only":true,"description":"Created - using the Datadog provider in Terraform","title":"Acceptance Test Ordered Dashboard","url":"/dashboard/t8y-uw4-uhs/acceptance-test-ordered-dashboard","layout_type":"ordered","modified_at":"2020-04-02T04:03:48.438649+00:00","id":"t8y-uw4-uhs"},{"created_at":"2020-02-11T13:48:52.362473+00:00","author_handle":"hippolyte.henry@datadoghq.com","is_read_only":false,"description":null,"title":"For - dashboard list tests - DO NOT DELETE","url":"/dashboard/q5j-nti-fv6/for-dashboard-list-tests---do-not-delete","layout_type":"ordered","modified_at":"2020-02-11T13:49:16.919666+00:00","id":"q5j-nti-fv6"}]}' + body: '{"dashboards":[{"id":"npw-6di-usv","title":"Test-Get_all_dashboards_returns_OK_response-1676584070 + with Profile Metrics Query","description":null,"layout_type":"ordered","url":"/dashboard/npw-6di-usv/test-getalldashboardsreturnsokresponse-1676584070-with-profile-metrics-query","is_read_only":false,"created_at":"2023-02-16T21:47:50.216943+00:00","modified_at":"2023-02-16T21:47:50.216943+00:00","author_handle":"frog@datadoghq.com","deleted_at":null}]} + + ' code: 200 duration: '' headers: @@ -114,9 +47,11 @@ interactions: Accept: - application/json method: DELETE - url: https://api.datadoghq.com/api/v1/dashboard/h7i-mjy-78u + url: https://api.datadoghq.com/api/v1/dashboard/npw-6di-usv response: - body: '{"deleted_dashboard_id":"h7i-mjy-78u"}' + body: '{"deleted_dashboard_id":"npw-6di-usv"} + + ' code: 200 duration: '' headers: diff --git a/tests/scenarios/features/v1/authentication.feature b/tests/scenarios/features/v1/authentication.feature index 4a0d618d248..34e1715d60a 100644 --- a/tests/scenarios/features/v1/authentication.feature +++ b/tests/scenarios/features/v1/authentication.feature @@ -23,3 +23,4 @@ Feature: Authentication Given a valid "apiKeyAuth" key in the system When the request is sent Then the response status is 200 OK + And the response "valid" is equal to true diff --git a/tests/scenarios/features/v1/dashboard_lists.feature b/tests/scenarios/features/v1/dashboard_lists.feature index a96b3f3e7f6..18cc1568259 100644 --- a/tests/scenarios/features/v1/dashboard_lists.feature +++ b/tests/scenarios/features/v1/dashboard_lists.feature @@ -56,11 +56,13 @@ Feature: Dashboard Lists And the response "id" has the same value as "dashboard_list.id" And the response "name" has the same value as "dashboard_list.name" - @team:DataDog/dashboards + @replay-only @team:DataDog/dashboards Scenario: Get all dashboard lists returns "OK" response - Given new "ListDashboardLists" request + Given there is a valid "dashboard_list" in the system + And new "ListDashboardLists" request When the request is sent Then the response status is 200 OK + And the response "dashboard_lists[0].name" has the same value as "dashboard_list.name" @generated @skip @team:DataDog/dashboards Scenario: Update a dashboard list returns "Bad Request" response diff --git a/tests/scenarios/features/v1/dashboards.feature b/tests/scenarios/features/v1/dashboards.feature index ad8859acd6c..cccd3f73b1c 100644 --- a/tests/scenarios/features/v1/dashboards.feature +++ b/tests/scenarios/features/v1/dashboards.feature @@ -67,6 +67,10 @@ Feature: Dashboards And body from file "dashboard_payload.json" When the request is sent Then the response status is 200 OK + And the response "title" is equal to "{{ unique }} with Profile Metrics Query" + And the response "widgets[0].definition.requests[0].profile_metrics_query.search.query" is equal to "runtime:jvm" + And the response "widgets[0].definition.requests[0].profile_metrics_query.compute.facet" is equal to "@prof_core_cpu_cores" + And the response "widgets[0].definition.requests[0].profile_metrics_query.compute.aggregation" is equal to "sum" @team:DataDog/dashboards Scenario: Create a new dashboard with a formulas and functions change widget @@ -105,6 +109,11 @@ Feature: Dashboards And body with value {"layout_type": "ordered", "title": "{{ unique }} with QVW Percentile Aggregator", "widgets": [{"definition":{"title_size":"16","title":"","title_align":"left","precision":2,"time":{},"autoscale":true,"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"query":"p90:dist.dd.dogweb.latency{*}","data_source":"metrics","name":"query1","aggregator":"percentile"}]}],"type":"query_value"},"layout":{"y":0,"x":0,"height":2,"width":2}}]} When the request is sent Then the response status is 200 OK + And the response "title" is equal to "{{ unique }} with QVW Percentile Aggregator" + And the response "widgets[0].definition.title_size" is equal to "16" + And the response "widgets[0].definition.title_align" is equal to "left" + And the response "widgets[0].definition.requests[0].formulas[0].formula" is equal to "query1" + And the response "widgets[0].definition.requests[0].response_format" is equal to "scalar" @team:DataDog/dashboards Scenario: Create a new dashboard with a query value widget using timeseries background @@ -112,6 +121,12 @@ Feature: Dashboards And body with value {"layout_type": "ordered", "title": "{{ unique }} with QVW Timeseries Background", "widgets": [{"definition":{"title_size":"16","title":"","title_align":"left","precision":2,"time":{},"autoscale":true,"requests":[{"formulas":[{"formula":"query1"}],"response_format":"scalar","queries":[{"query":"sum:my.cool.count.metric{*}","data_source":"metrics","name":"query1","aggregator":"percentile"}]}],"type":"query_value","timeseries_background":{"type":"area","yaxis":{"include_zero":true}}},"layout":{"y":0,"x":0,"height":2,"width":2}}]} When the request is sent Then the response status is 200 OK + And the response "title" is equal to "{{ unique }} with QVW Timeseries Background" + And the response "widgets[0].definition.title_size" is equal to "16" + And the response "widgets[0].definition.title_align" is equal to "left" + And the response "widgets[0].definition.requests[0].formulas[0].formula" is equal to "query1" + And the response "widgets[0].definition.requests[0].response_format" is equal to "scalar" + And the response "widgets[0].definition.requests[0].queries[0].query" is equal to "sum:my.cool.count.metric{*}" @team:DataDog/dashboards Scenario: Create a new dashboard with alert_graph widget @@ -140,6 +155,10 @@ Feature: Dashboards And body with value {"layout_type": "ordered", "title": "{{ unique }} with Audit Logs Query", "widgets": [{"definition": {"type": "timeseries","requests": [{"response_format": "timeseries","queries": [{"search": {"query": ""},"data_source": "audit","compute": {"aggregation": "count"},"name": "query1","indexes": ["*"],"group_by": []}]}]},"layout": {"x": 2,"y": 0,"width": 4,"height": 2}}]} When the request is sent Then the response status is 200 OK + And the response "title" is equal to "{{ unique }} with Audit Logs Query" + And the response "widgets[0].definition.type" is equal to "timeseries" + And the response "widgets[0].definition.requests[0].response_format" is equal to "timeseries" + And the response "widgets[0].definition.requests[0].queries[0].data_source" is equal to "audit" @team:DataDog/dashboards Scenario: Create a new dashboard with apm dependency stats widget @@ -181,6 +200,10 @@ Feature: Dashboards And body with value {"layout_type": "ordered", "title": "{{ unique }} with list_stream widget","widgets": [{"definition": {"type": "list_stream","requests": [{"columns":[{"width":"auto","field":"timestamp"}],"query":{"data_source":"apm_issue_stream","query_string":""},"response_format":"event_list"}]}}]} When the request is sent Then the response status is 200 OK + And the response "title" is equal to "{{ unique }} with list_stream widget" + And the response "widgets[0].definition.type" is equal to "list_stream" + And the response "widgets[0].definition.requests[0].columns[0].width" is equal to "auto" + And the response "widgets[0].definition.requests[0].query.data_source" is equal to "apm_issue_stream" @team:DataDog/dashboards Scenario: Create a new dashboard with check_status widget @@ -271,6 +294,10 @@ Feature: Dashboards And body with value {"layout_type": "ordered", "title": "{{ unique }} with funnel widget","widgets": [{"definition": {"type": "funnel","requests": [{"query":{"data_source":"rum","query_string":"","steps":[]},"request_type":"funnel"}]}}]} When the request is sent Then the response status is 200 OK + And the response "title" is equal to "{{ unique }} with funnel widget" + And the response "widgets[0].definition.type" is equal to "funnel" + And the response "widgets[0].definition.requests[0].query.data_source" is equal to "rum" + And the response "widgets[0].definition.requests[0].request_type" is equal to "funnel" @team:DataDog/dashboards Scenario: Create a new dashboard with geomap widget @@ -322,6 +349,8 @@ Feature: Dashboards And body with value {"layout_type": "ordered", "title": "{{ unique }} with list_stream widget","widgets": [{"definition": {"type": "list_stream","requests": [{"columns":[{"width":"auto","field":"timestamp"}],"query":{"data_source":"apm_issue_stream","query_string":""},"response_format":"event_list"}]}}]} When the request is sent Then the response status is 200 OK + And the response "widgets[0].definition.type" is equal to "list_stream" + And the response "widgets[0].definition.requests[0].query.data_source" is equal to "apm_issue_stream" @team:DataDog/dashboards Scenario: Create a new dashboard with log_stream widget @@ -423,6 +452,8 @@ Feature: Dashboards And body with value {"layout_type": "ordered", "title": "{{ unique }} with list_stream widget","widgets": [{"definition": {"type": "list_stream","requests": [{"columns":[{"width":"auto","field":"timestamp"}],"query":{"data_source":"rum_issue_stream","query_string":""},"response_format":"event_list"}]}}]} When the request is sent Then the response status is 200 OK + And the response "widgets[0].definition.type" is equal to "list_stream" + And the response "widgets[0].definition.requests[0].response_format" is equal to "event_list" @team:DataDog/dashboards Scenario: Create a new dashboard with run-workflow widget @@ -511,6 +542,9 @@ Feature: Dashboards And body with value {"description": null, "is_read_only": false, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} When the request is sent Then the response status is 200 OK + And the response "template_variables[0].name" is equal to "host1" + And the response "template_variables[0].available_values[0]" is equal to "my-host" + And the response "template_variables[0].defaults[0]" is equal to "my-host" @team:DataDog/dashboards Scenario: Create a new dashboard with template variable defaults whose value has no length returns "Bad Request" response @@ -532,6 +566,9 @@ Feature: Dashboards And body with value {"description": null, "is_read_only": false, "layout_type": "ordered", "notify_list": [], "reflow_type": "auto", "restricted_roles": [], "template_variable_presets": [{"name": "my saved view", "template_variables": [{"name": "datacenter", "values": ["*", "my-host"]}]}], "template_variables": [{"available_values": ["my-host", "host1", "host2"], "defaults": ["my-host"], "name": "host1", "prefix": "host"}], "title": "", "widgets": [{"definition": {"requests": {"fill": {"q": "avg:system.cpu.user{*}"}}, "type": "hostmap"}}]} When the request is sent Then the response status is 200 OK + And the response "template_variable_presets[0].name" is equal to "my saved view" + And the response "template_variable_presets[0].template_variables[0].name" is equal to "datacenter" + And the response "template_variable_presets[0].template_variables[0].values[0]" is equal to "*" @team:DataDog/dashboards Scenario: Create a new dashboard with timeseries widget and formula style attributes @@ -655,13 +692,15 @@ Feature: Dashboards Then the response status is 200 OK And the response "author_name" is equal to "Frog Account" - @team:DataDog/dashboards + @replay-only @team:DataDog/dashboards Scenario: Get all dashboards returns "OK" response Given new "ListDashboards" request And there is a valid "dashboard" in the system And request contains "filter[shared]" parameter with value false When the request is sent Then the response status is 200 OK + And the response "dashboards[0].title" has the same value as "dashboard.title" + And the response "dashboards[0].id" has the same value as "dashboard.id" @replay-only @team:DataDog/dashboards Scenario: Get deleted dashboards returns "OK" response @@ -671,6 +710,8 @@ Feature: Dashboards And request contains "filter[deleted]" parameter with value true When the request is sent Then the response status is 200 OK + And the response "dashboards[0].title" has the same value as "dashboard.title" + And the response "dashboards[0].id" has the same value as "dashboard.id" @generated @skip @team:DataDog/dashboards Scenario: Restore deleted dashboards returns "Bad Request" response diff --git a/tests/scenarios/features/v1/downtimes.feature b/tests/scenarios/features/v1/downtimes.feature index 4676422f538..a6037b29279 100644 --- a/tests/scenarios/features/v1/downtimes.feature +++ b/tests/scenarios/features/v1/downtimes.feature @@ -99,6 +99,10 @@ Feature: Downtimes And body from file "downtime_recurrence_payload_once_a_year.json" When the request is sent Then the response status is 200 OK + And the response "message" is equal to "{{ unique }}" + And the response "monitor_tags[0]" is equal to "tag0" + And the response "recurrence.period" is equal to 1 + And the response "recurrence.type" is equal to "years" @team:DataDog/monitor-app Scenario: Schedule a downtime returns "Bad Request" response @@ -122,6 +126,9 @@ Feature: Downtimes And body from file "downtime_recurrence_payload_until_date.json" When the request is sent Then the response status is 200 OK + And the response "message" is equal to "{{ unique }}" + And the response "recurrence.period" is equal to 1 + And the response "recurrence.until_date" is equal to {{ timestamp("now + 21d") }} @team:DataDog/monitor-app Scenario: Schedule a downtime with invalid type hours @@ -150,6 +157,9 @@ Feature: Downtimes And body from file "downtime_recurrence_payload_until_occurrences.json" When the request is sent Then the response status is 200 OK + And the response "message" is equal to "{{ unique }}" + And the response "recurrence.period" is equal to 1 + And the response "recurrence.until_occurrences" is equal to 3 @team:DataDog/monitor-app Scenario: Schedule a monitor downtime returns "OK" response diff --git a/tests/scenarios/features/v1/ip_ranges.feature b/tests/scenarios/features/v1/ip_ranges.feature index c483812c317..067c9b6215e 100644 --- a/tests/scenarios/features/v1/ip_ranges.feature +++ b/tests/scenarios/features/v1/ip_ranges.feature @@ -8,3 +8,5 @@ Feature: IP Ranges And new "GetIPRanges" request When the request is sent Then the response status is 200 OK + And the response "agents.prefixes_ipv4" has length 1 + And the response "agents.prefixes_ipv6" has length 1 diff --git a/tests/scenarios/features/v1/metrics.feature b/tests/scenarios/features/v1/metrics.feature index c4ba8c3c458..578f073ad10 100644 --- a/tests/scenarios/features/v1/metrics.feature +++ b/tests/scenarios/features/v1/metrics.feature @@ -91,6 +91,8 @@ Feature: Metrics And request contains "query" parameter with value "system.cpu.idle{*}" When the request is sent Then the response status is 200 OK + And the response "status" is equal to "ok" + And the response "query" is equal to "system.cpu.idle{*}" @generated @skip @team:DataDog/metrics-intake @team:DataDog/metrics-query Scenario: Search metrics returns "Bad Request" response diff --git a/tests/scenarios/features/v1/monitors.feature b/tests/scenarios/features/v1/monitors.feature index bb1e5e7a84d..129aae472e0 100644 --- a/tests/scenarios/features/v1/monitors.feature +++ b/tests/scenarios/features/v1/monitors.feature @@ -31,6 +31,7 @@ Feature: Monitors And request contains "monitor_ids" parameter with value [{{monitor.id}}] When the request is sent Then the response status is 200 OK + And the response "data.ok[0]" has the same value as "monitor.id" @team:DataDog/monitor-app Scenario: Create a RUM formula and functions monitor returns "OK" response @@ -38,6 +39,8 @@ Feature: Monitors And body with value {"name": "{{ unique }}","type": "rum alert","query": "formula(\"query2 / query1 * 100\").last(\"15m\") >= 0.8","message": "some message Notify: @hipchat-channel", "tags": ["test:{{ unique_lower_alnum }}", "env:ci"],"priority": 3,"options":{"thresholds":{"critical":0.8},"variables":[{"data_source": "rum","name": "query2","search": {"query": ""},"indexes": ["*"],"compute": {"aggregation": "count"},"group_by": []}, {"data_source": "rum","name": "query1","search": {"query": "status:error"},"indexes": ["*"],"compute": {"aggregation": "count"},"group_by": []}]}} When the request is sent Then the response status is 200 OK + And the response "name" is equal to "{{ unique }}" + And the response "type" is equal to "rum alert" @team:DataDog/monitor-app Scenario: Create a ci-pipelines formula and functions monitor returns "OK" response @@ -45,6 +48,9 @@ Feature: Monitors And body with value {"name": "{{ unique }}","type": "ci-pipelines alert","query": "formula(\"query1 / query2 * 100\").last(\"15m\") >= 0.8","message": "some message Notify: @hipchat-channel","tags": ["test:{{ unique_lower_alnum }}", "env:ci"],"priority": 3,"options": {"thresholds": {"critical": 0.8},"variables": [{"data_source": "ci_pipelines","name": "query1","search": {"query": "@ci.status:error"},"indexes": ["*"],"compute": {"aggregation": "count"},"group_by": []},{"data_source": "ci_pipelines","name": "query2","search": {"query": ""},"indexes": ["*"],"compute": {"aggregation": "count"},"group_by": []}]}} When the request is sent Then the response status is 200 OK + And the response "name" is equal to "{{ unique }}" + And the response "type" is equal to "ci-pipelines alert" + And the response "query" is equal to "formula(\"query1 / query2 * 100\").last(\"15m\") >= 0.8" @team:DataDog/monitor-app Scenario: Create a ci-pipelines monitor returns "OK" response @@ -52,6 +58,9 @@ Feature: Monitors And body with value {"name": "{{ unique }}","type": "ci-pipelines alert","query": "ci-pipelines(\"ci_level:pipeline @git.branch:staging* @ci.status:error\").rollup(\"count\").by(\"@git.branch,@ci.pipeline.name\").last(\"5m\") >= 1","message": "some message Notify: @hipchat-channel", "tags": ["test:{{ unique_lower_alnum }}", "env:ci"],"priority": 3,"options":{"thresholds":{"critical":1}}} When the request is sent Then the response status is 200 OK + And the response "name" is equal to "{{ unique }}" + And the response "type" is equal to "ci-pipelines alert" + And the response "query" is equal to "ci-pipelines(\"ci_level:pipeline @git.branch:staging* @ci.status:error\").rollup(\"count\").by(\"@git.branch,@ci.pipeline.name\").last(\"5m\") >= 1" @team:DataDog/monitor-app Scenario: Create a ci-tests formula and functions monitor returns "OK" response @@ -59,6 +68,9 @@ Feature: Monitors And body with value {"name": "{{ unique }}","type": "ci-tests alert","query": "formula(\"query1 / query2 * 100\").last(\"15m\") >= 0.8","message": "some message Notify: @hipchat-channel","tags": ["test:{{ unique_lower_alnum }}", "env:ci"],"priority": 3,"options": {"thresholds": {"critical": 0.8},"variables": [{"data_source": "ci_tests","name": "query1","search": {"query": "@test.status:fail"},"indexes": ["*"],"compute": {"aggregation": "count"},"group_by": []},{"data_source": "ci_tests","name": "query2","search": {"query": ""},"indexes": ["*"],"compute": {"aggregation": "count"},"group_by": []}]}} When the request is sent Then the response status is 200 OK + And the response "name" is equal to "{{ unique }}" + And the response "type" is equal to "ci-tests alert" + And the response "query" is equal to "formula(\"query1 / query2 * 100\").last(\"15m\") >= 0.8" @team:DataDog/monitor-app Scenario: Create a ci-tests monitor returns "OK" response @@ -66,6 +78,9 @@ Feature: Monitors And body with value {"name": "{{ unique }}","type": "ci-tests alert","query": "ci-tests(\"type:test @git.branch:staging* @test.status:fail\").rollup(\"count\").by(\"@test.name\").last(\"5m\") >= 1","message": "some message Notify: @hipchat-channel", "tags": ["test:{{ unique_lower_alnum }}", "env:ci"],"priority": 3,"options":{"thresholds":{"critical":1}}} When the request is sent Then the response status is 200 OK + And the response "name" is equal to "{{ unique }}" + And the response "type" is equal to "ci-tests alert" + And the response "query" is equal to "ci-tests(\"type:test @git.branch:staging* @test.status:fail\").rollup(\"count\").by(\"@test.name\").last(\"5m\") >= 1" @team:DataDog/monitor-app Scenario: Create a metric monitor returns "OK" response @@ -73,6 +88,8 @@ Feature: Monitors And body with value {"name": "{{ unique }}", "type": "metric alert", "query": "avg(current_1mo):avg:system.load.5{*} > 0.5", "message": "some message Notify: @hipchat-channel", "options":{"thresholds":{"critical":0.5}, "scheduling_options":{"evaluation_window":{"day_starts":"04:00", "month_starts":1}}}} When the request is sent Then the response status is 200 OK + And the response "name" is equal to "{{ unique }}" + And the response "query" is equal to "avg(current_1mo):avg:system.load.5{*} > 0.5" @team:DataDog/monitor-app Scenario: Create a monitor returns "Bad Request" response @@ -88,6 +105,9 @@ Feature: Monitors And body with value {"name": "{{ unique }}", "type": "log alert", "query": "logs(\"service:foo AND type:error\").index(\"main\").rollup(\"count\").by(\"source\").last(\"5m\") > 2", "message": "some message Notify: @hipchat-channel", "tags": ["test:{{ unique_lower_alnum }}", "env:ci"], "priority": 3, "restricted_roles": ["{{ role.data.id }}"]} When the request is sent Then the response status is 200 OK + And the response "name" is equal to "{{ unique }}" + And the response "type" is equal to "log alert" + And the response "query" is equal to "logs(\"service:foo AND type:error\").index(\"main\").rollup(\"count\").by(\"source\").last(\"5m\") > 2" @team:DataDog/monitor-app Scenario: Create an Error Tracking monitor returns "OK" response @@ -95,6 +115,9 @@ Feature: Monitors And body from file "monitor_error_tracking_alert_payload.json" When the request is sent Then the response status is 200 OK + And the response "name" is equal to "{{ unique }}" + And the response "type" is equal to "error-tracking alert" + And the response "query" is equal to "error-tracking-rum(\"service:foo AND @error.source:source\").rollup(\"count\").by(\"@issue.id\").last(\"1h\") >= 1" @generated @skip @team:DataDog/monitor-app Scenario: Delete a monitor returns "Bad Request" response @@ -117,6 +140,7 @@ Feature: Monitors And request contains "monitor_id" parameter from "monitor.id" When the request is sent Then the response status is 200 OK + And the response "deleted_monitor_id" has the same value as "monitor.id" @generated @skip @team:DataDog/monitor-app Scenario: Edit a monitor returns "Bad Request" response @@ -211,6 +235,7 @@ Feature: Monitors Given new "SearchMonitorGroups" request When the request is sent Then the response status is 200 OK + And the response "metadata.page" is equal to 0 @team:DataDog/monitor-app Scenario: Monitors search returns "Bad Request" response @@ -224,6 +249,7 @@ Feature: Monitors Given new "SearchMonitors" request When the request is sent Then the response status is 200 OK + And the response "metadata.page" is equal to 0 @team:DataDog/monitor-app Scenario: Validate a monitor returns "Invalid JSON" response diff --git a/tests/scenarios/features/v1/notebooks.feature b/tests/scenarios/features/v1/notebooks.feature index bc6401be55d..aa45080db6b 100644 --- a/tests/scenarios/features/v1/notebooks.feature +++ b/tests/scenarios/features/v1/notebooks.feature @@ -23,6 +23,9 @@ Feature: Notebooks And body with value {"data": {"attributes": {"cells": [{"attributes": {"definition": {"text": "## Some test markdown\n\n```js\nvar x, y;\nx = 5;\ny = 6;\n```", "type": "markdown"}}, "type": "notebook_cells"}, {"attributes": {"definition": {"requests": [{"display_type": "line", "q": "avg:system.load.1{*}", "style": {"line_type": "solid", "line_width": "normal", "palette": "dog_classic"}}], "show_legend": true, "type": "timeseries", "yaxis": {"scale": "linear"}}, "graph_size": "m", "split_by": {"keys": [], "tags": []}, "time": null}, "type": "notebook_cells"}], "name": "{{ unique }}", "status": "published", "time": {"live_span": "1h"}}, "type": "notebooks"}} When the request is sent Then the response status is 200 OK + And the response "data.type" is equal to "notebooks" + And the response "data.attributes.name" is equal to "{{ unique }}" + And the response "data.attributes.cells[0].attributes.definition.text" is equal to "## Some test markdown\n\n```js\nvar x, y;\nx = 5;\ny = 6;\n```" @skip @team:DataDog/notebooks Scenario: Delete a notebook returns "Bad Request" response @@ -67,6 +70,8 @@ Feature: Notebooks And request contains "notebook_id" parameter from "notebook.data.id" When the request is sent Then the response status is 200 OK + And the response "data.attributes.name" has the same value as "notebook.data.attributes.name" + And the response "data.attributes.cells[0].attributes.definition.type" has the same value as "notebook.data.attributes.cells[0].attributes.definition.type" @generated @skip @team:DataDog/notebooks Scenario: Get all notebooks returns "Bad Request" response @@ -112,3 +117,5 @@ Feature: Notebooks And body with value {"data": {"attributes": {"cells": [{"attributes": {"definition": {"text": "## Some test markdown\n\n```js\nvar x, y;\nx = 5;\ny = 6;\n```", "type": "markdown"}}, "type": "notebook_cells"}, {"attributes": {"definition": {"requests": [{"display_type": "line", "q": "avg:system.load.1{*}", "style": {"line_type": "solid", "line_width": "normal", "palette": "dog_classic"}}], "show_legend": true, "type": "timeseries", "yaxis": {"scale": "linear"}}, "graph_size": "m", "split_by": {"keys": [], "tags": []}, "time": null}, "type": "notebook_cells"}], "name": "{{ unique }}-updated", "status": "published", "time": {"live_span": "1h"}}, "type": "notebooks"}} When the request is sent Then the response status is 200 OK + And the response "data.attributes.name" is equal to "{{ unique }}-updated" + And the response "data.attributes.status" is equal to "published" diff --git a/tests/scenarios/features/v1/security_monitoring.feature b/tests/scenarios/features/v1/security_monitoring.feature index 4dbba8179a6..d77c67f9b8f 100644 --- a/tests/scenarios/features/v1/security_monitoring.feature +++ b/tests/scenarios/features/v1/security_monitoring.feature @@ -30,6 +30,7 @@ Feature: Security Monitoring And body with value {"incident_id": 2609} When the request is sent Then the response status is 200 OK + And the response "status" is equal to "done" @generated @skip @team:DataDog/k9-cloud-security-platform Scenario: Change the triage state of a security signal returns "Bad Request" response @@ -54,6 +55,7 @@ Feature: Security Monitoring And body with value {"archiveReason": "none", "state": "open"} When the request is sent Then the response status is 200 OK + And the response "status" is equal to "done" @generated @skip @team:DataDog/k9-cloud-security-platform Scenario: Modify the triage assignee of a security signal returns "Bad Request" response @@ -78,3 +80,4 @@ Feature: Security Monitoring And body with value {"assignee": "773b045d-ccf8-4808-bd3b-955ef6a8c940"} When the request is sent Then the response status is 200 OK + And the response "status" is equal to "done" diff --git a/tests/scenarios/features/v1/service_level_objective_corrections.feature b/tests/scenarios/features/v1/service_level_objective_corrections.feature index 02f38e54b67..8d7974996f6 100644 --- a/tests/scenarios/features/v1/service_level_objective_corrections.feature +++ b/tests/scenarios/features/v1/service_level_objective_corrections.feature @@ -26,6 +26,9 @@ Feature: Service Level Objective Corrections And body with value {"data": {"attributes": {"category": "Scheduled Maintenance", "description": "{{ unique }}", "end": {{ timestamp("now + 1h") }}, "slo_id": "{{ slo.data[0].id }}", "start": {{ timestamp("now") }}, "timezone": "UTC"}, "type": "correction"}} When the request is sent Then the response status is 200 OK + And the response "data.type" is equal to "correction" + And the response "data.attributes.category" is equal to "Scheduled Maintenance" + And the response "data.attributes.slo_id" has the same value as "slo.data[0].id" @skip @team:DataDog/slo-app Scenario: Create an SLO correction returns "SLO Not Found" response @@ -41,6 +44,8 @@ Feature: Service Level Objective Corrections And body with value {"data": {"attributes": {"category": "Scheduled Maintenance", "description": "{{ unique }}", "slo_id": "{{ slo.data[0].id }}", "start": {{ timestamp("now") }}, "duration": 3600, "rrule": "FREQ=DAILY;INTERVAL=10;COUNT=5", "timezone": "UTC"}, "type": "correction"}} When the request is sent Then the response status is 200 OK + And the response "data.type" is equal to "correction" + And the response "data.attributes.rrule" is equal to "FREQ=DAILY;INTERVAL=10;COUNT=5" @generated @skip @team:DataDog/slo-app Scenario: Delete an SLO correction returns "Not found" response @@ -82,6 +87,8 @@ Feature: Service Level Objective Corrections And request contains "slo_correction_id" parameter from "correction.data.id" When the request is sent Then the response status is 200 OK + And the response "data.type" has the same value as "correction.data.type" + And the response "data.attributes.category" has the same value as "correction.data.attributes.category" @skip @team:DataDog/slo-app Scenario: Update an SLO correction returns "Bad Request" response diff --git a/tests/scenarios/features/v1/service_level_objectives.feature b/tests/scenarios/features/v1/service_level_objectives.feature index 74bb481ab4d..7bb41e4825a 100644 --- a/tests/scenarios/features/v1/service_level_objectives.feature +++ b/tests/scenarios/features/v1/service_level_objectives.feature @@ -86,6 +86,7 @@ Feature: Service Level Objectives And request contains "slo_id" parameter from "slo.data[0].id" When the request is sent Then the response status is 200 OK + And the response "data[0]" has the same value as "slo.data[0].id" @generated @skip @team:DataDog/slo-app Scenario: Get Corrections For an SLO returns "Bad Request" response diff --git a/tests/scenarios/features/v1/snapshots.feature b/tests/scenarios/features/v1/snapshots.feature index 6407715c07b..9e86ed6bb07 100644 --- a/tests/scenarios/features/v1/snapshots.feature +++ b/tests/scenarios/features/v1/snapshots.feature @@ -25,3 +25,4 @@ Feature: Snapshots And request contains "width" parameter with value 600 When the request is sent Then the response status is 200 OK + And the response "metric_query" is equal to "avg:system.load.1{*}" diff --git a/tests/scenarios/features/v1/synthetics.feature b/tests/scenarios/features/v1/synthetics.feature index 237b41626f7..1430b8edde8 100644 --- a/tests/scenarios/features/v1/synthetics.feature +++ b/tests/scenarios/features/v1/synthetics.feature @@ -105,6 +105,8 @@ Feature: Synthetics And body with value {"description": "Test {{ unique }} description", "metadata": {"restricted_roles": ["{{ role.data.id }}"]}, "name": "{{ unique }}", "tags": ["test:{{ unique_lower_alnum }}"]} When the request is sent Then the response status is 200 OK + And the response "private_location.name" is equal to "{{ unique }}" + And the response "private_location.metadata.restricted_roles[0]" has the same value as "role.data.id" @generated @skip @team:DataDog/synthetics-app Scenario: Create a private location returns "Private locations are not activated for the user" response