@@ -91,7 +91,7 @@ Feature: Dashboards
9191 @generated @skip @team:DataDog/dashboards-backend
9292 Scenario : Create a new dashboard returns "Bad Request" response
9393 Given new "CreateDashboard" request
94- And body with value {"description" : null, "is_read_only" : false, "layout_type" : "ordered" , "notify_list" : [], "reflow_type" : "auto" , "restricted_roles" : [], "tags" : [], "template_variable_presets" : [{"template_variables" : [{"values" : []}]}], "template_variables" : [{"available_values" : ["my-host" , "host1" , "host2" ], "default" : "my-host" , "defaults" : ["my-host-1" , "my-host-2" ], "name" : "host1" , "prefix" : "host" , "type" : "group" }], "title" : "" , "widgets" : [{"definition" : {"requests" : {"fill" : {"q" : "avg:system.cpu.user{*}" }}, "type" : "hostmap" }}]}
94+ And body with value {"description" : null, "is_read_only" : false, "layout_type" : "ordered" , "notify_list" : [], "reflow_type" : "auto" , "restricted_roles" : [], "tabs" : [{ "id" : "" , "name" : "L" , "widget_ids" : [0]}], " tags" : [], "template_variable_presets" : [{"template_variables" : [{"values" : []}]}], "template_variables" : [{"available_values" : ["my-host" , "host1" , "host2" ], "default" : "my-host" , "defaults" : ["my-host-1" , "my-host-2" ], "name" : "host1" , "prefix" : "host" , "type" : "group" }], "title" : "" , "widgets" : [{"definition" : {"requests" : {"fill" : {"q" : "avg:system.cpu.user{*}" }}, "type" : "hostmap" }}]}
9595 When the request is sent
9696 Then the response status is 400 Bad Request
9797
@@ -1342,15 +1342,15 @@ Feature: Dashboards
13421342 Scenario : Update a dashboard returns "Bad Request" response
13431343 Given new "UpdateDashboard" request
13441344 And request contains "dashboard_id" parameter from "REPLACE.ME"
1345- And body with value {"description" : null, "is_read_only" : false, "layout_type" : "ordered" , "notify_list" : [], "reflow_type" : "auto" , "restricted_roles" : [], "tags" : [], "template_variable_presets" : [{"template_variables" : [{"values" : []}]}], "template_variables" : [{"available_values" : ["my-host" , "host1" , "host2" ], "default" : "my-host" , "defaults" : ["my-host-1" , "my-host-2" ], "name" : "host1" , "prefix" : "host" , "type" : "group" }], "title" : "" , "widgets" : [{"definition" : {"requests" : {"fill" : {"q" : "avg:system.cpu.user{*}" }}, "type" : "hostmap" }}]}
1345+ And body with value {"description" : null, "is_read_only" : false, "layout_type" : "ordered" , "notify_list" : [], "reflow_type" : "auto" , "restricted_roles" : [], "tabs" : [{ "id" : "" , "name" : "L" , "widget_ids" : [0]}], " tags" : [], "template_variable_presets" : [{"template_variables" : [{"values" : []}]}], "template_variables" : [{"available_values" : ["my-host" , "host1" , "host2" ], "default" : "my-host" , "defaults" : ["my-host-1" , "my-host-2" ], "name" : "host1" , "prefix" : "host" , "type" : "group" }], "title" : "" , "widgets" : [{"definition" : {"requests" : {"fill" : {"q" : "avg:system.cpu.user{*}" }}, "type" : "hostmap" }}]}
13461346 When the request is sent
13471347 Then the response status is 400 Bad Request
13481348
13491349 @generated @skip @team:DataDog/dashboards-backend
13501350 Scenario : Update a dashboard returns "Item Not Found" response
13511351 Given new "UpdateDashboard" request
13521352 And request contains "dashboard_id" parameter from "REPLACE.ME"
1353- And body with value {"description" : null, "is_read_only" : false, "layout_type" : "ordered" , "notify_list" : [], "reflow_type" : "auto" , "restricted_roles" : [], "tags" : [], "template_variable_presets" : [{"template_variables" : [{"values" : []}]}], "template_variables" : [{"available_values" : ["my-host" , "host1" , "host2" ], "default" : "my-host" , "defaults" : ["my-host-1" , "my-host-2" ], "name" : "host1" , "prefix" : "host" , "type" : "group" }], "title" : "" , "widgets" : [{"definition" : {"requests" : {"fill" : {"q" : "avg:system.cpu.user{*}" }}, "type" : "hostmap" }}]}
1353+ And body with value {"description" : null, "is_read_only" : false, "layout_type" : "ordered" , "notify_list" : [], "reflow_type" : "auto" , "restricted_roles" : [], "tabs" : [{ "id" : "" , "name" : "L" , "widget_ids" : [0]}], " tags" : [], "template_variable_presets" : [{"template_variables" : [{"values" : []}]}], "template_variables" : [{"available_values" : ["my-host" , "host1" , "host2" ], "default" : "my-host" , "defaults" : ["my-host-1" , "my-host-2" ], "name" : "host1" , "prefix" : "host" , "type" : "group" }], "title" : "" , "widgets" : [{"definition" : {"requests" : {"fill" : {"q" : "avg:system.cpu.user{*}" }}, "type" : "hostmap" }}]}
13541354 When the request is sent
13551355 Then the response status is 404 Item Not Found
13561356
0 commit comments