@@ -936,21 +936,21 @@ Feature: Dashboards
936
936
And the response "widgets[0].definition.time.unit" is equal to "minute"
937
937
And the response "widgets[0].definition.time.value" is equal to 8
938
938
939
- @generated @skip @team:DataDog/dashboards-backend
939
+ @generated @skip @team:DataDog/reporting-and-sharing
940
940
Scenario : Create a shared dashboard returns "Bad Request" response
941
941
Given new "CreatePublicDashboard" request
942
- And body with value {"dashboard_id" : "123-abc-456" , "dashboard_type" : "custom_timeboard" , "global_time" : {"live_span" : "1h" }, "global_time_selectable_enabled" : null, "selectable_template_vars" : [{"default_value" : "*" , "name" : "exampleVar" , "prefix" : "test" , "visible_tags" : ["selectableValue1" , "selectableValue2" ]}], "share_list" : ["test@datadoghq.com" , "test2@email.com" ], "share_type" : "open" }
942
+ And body with value {"dashboard_id" : "123-abc-456" , "dashboard_type" : "custom_timeboard" , "embeddable_domains" : [ "https://domain.atlassian.net/" , "http://myserver.com/" ], "expiration" : null, " global_time" : {"live_span" : "1h" }, "global_time_selectable_enabled" : null, "invitees" : [{ "access_expiration" : "2030-01-01T12:00:00.00Z" , "email" : "test@datadoghq.com" }, { "access_expiration" : null, "email" : "test2@datadoghq.com" }], " selectable_template_vars" : [{"default_value" : "*" , "name" : "exampleVar" , "prefix" : "test" , "visible_tags" : ["selectableValue1" , "selectableValue2" ]}], "share_list" : ["test@datadoghq.com" , "test2@email.com" ], "share_type" : "open" , "status" : "active" , "viewing_preferences" : { "theme" : "system" } }
943
943
When the request is sent
944
944
Then the response status is 400 Bad Request
945
945
946
- @team:DataDog/dashboards-backend
946
+ @team:DataDog/reporting-and-sharing
947
947
Scenario : Create a shared dashboard returns "Dashboard Not Found" response
948
948
Given new "CreatePublicDashboard" request
949
949
And body with value {"dashboard_id" : "abc-123-def" , "dashboard_type" : "custom_timeboard" , "share_type" : "open" , "global_time" : {"live_span" : "1h" }}
950
950
When the request is sent
951
951
Then the response status is 404 Dashboard Not Found
952
952
953
- @team:DataDog/dashboards-backend
953
+ @team:DataDog/reporting-and-sharing
954
954
Scenario : Create a shared dashboard returns "OK" response
955
955
Given there is a valid "dashboard" in the system
956
956
And new "CreatePublicDashboard" request
@@ -1023,7 +1023,7 @@ Feature: Dashboards
1023
1023
Then the response status is 200 OK
1024
1024
And the response "author_name" is equal to "Frog Account"
1025
1025
1026
- @team:DataDog/dashboards-backend
1026
+ @team:DataDog/reporting-and-sharing
1027
1027
Scenario : Get a shared dashboard returns "OK" response
1028
1028
Given there is a valid "dashboard" in the system
1029
1029
And there is a valid "shared_dashboard" in the system
@@ -1034,7 +1034,7 @@ Feature: Dashboards
1034
1034
And the response "dashboard_id" has the same value as "dashboard.id"
1035
1035
And the response "token" has the same value as "shared_dashboard.token"
1036
1036
1037
- @generated @skip @team:DataDog/dashboards-backend
1037
+ @generated @skip @team:DataDog/reporting-and-sharing
1038
1038
Scenario : Get a shared dashboard returns "Shared Dashboard Not Found" response
1039
1039
Given new "GetPublicDashboard" request
1040
1040
And request contains "token" parameter from "REPLACE.ME"
@@ -1059,14 +1059,14 @@ Feature: Dashboards
1059
1059
Then the response status is 200 OK
1060
1060
And the response has 3 items
1061
1061
1062
- @generated @skip @team:DataDog/dashboards-backend
1062
+ @generated @skip @team:DataDog/reporting-and-sharing
1063
1063
Scenario : Get all invitations for a shared dashboard returns "Not Found" response
1064
1064
Given new "GetPublicDashboardInvitations" request
1065
1065
And request contains "token" parameter from "REPLACE.ME"
1066
1066
When the request is sent
1067
1067
Then the response status is 404 Not Found
1068
1068
1069
- @team:DataDog/dashboards-backend
1069
+ @team:DataDog/reporting-and-sharing
1070
1070
Scenario : Get all invitations for a shared dashboard returns "OK" response
1071
1071
Given there is a valid "dashboard" in the system
1072
1072
And there is a valid "shared_dashboard" in the system
@@ -1110,53 +1110,53 @@ Feature: Dashboards
1110
1110
When the request is sent
1111
1111
Then the response status is 204 No Content
1112
1112
1113
- @generated @skip @team:DataDog/dashboards-backend
1113
+ @generated @skip @team:DataDog/reporting-and-sharing
1114
1114
Scenario : Revoke a shared dashboard URL returns "OK" response
1115
1115
Given new "DeletePublicDashboard" request
1116
1116
And request contains "token" parameter from "REPLACE.ME"
1117
1117
When the request is sent
1118
1118
Then the response status is 200 OK
1119
1119
1120
- @generated @skip @team:DataDog/dashboards-backend
1120
+ @generated @skip @team:DataDog/reporting-and-sharing
1121
1121
Scenario : Revoke a shared dashboard URL returns "Shared Dashboard Not Found" response
1122
1122
Given new "DeletePublicDashboard" request
1123
1123
And request contains "token" parameter from "REPLACE.ME"
1124
1124
When the request is sent
1125
1125
Then the response status is 404 Shared Dashboard Not Found
1126
1126
1127
- @generated @skip @team:DataDog/dashboards-backend
1127
+ @generated @skip @team:DataDog/reporting-and-sharing
1128
1128
Scenario : Revoke shared dashboard invitations returns "Not Found" response
1129
1129
Given new "DeletePublicDashboardInvitation" request
1130
1130
And request contains "token" parameter from "REPLACE.ME"
1131
1131
And body with value {"data" : [{"attributes" : {"email" : "test@datadoghq.com" }, "type" : "public_dashboard_invitation" }]}
1132
1132
When the request is sent
1133
1133
Then the response status is 404 Not Found
1134
1134
1135
- @generated @skip @team:DataDog/dashboards-backend
1135
+ @generated @skip @team:DataDog/reporting-and-sharing
1136
1136
Scenario : Revoke shared dashboard invitations returns "OK" response
1137
1137
Given new "DeletePublicDashboardInvitation" request
1138
1138
And request contains "token" parameter from "REPLACE.ME"
1139
1139
And body with value {"data" : [{"attributes" : {"email" : "test@datadoghq.com" }, "type" : "public_dashboard_invitation" }]}
1140
1140
When the request is sent
1141
1141
Then the response status is 204 OK
1142
1142
1143
- @generated @skip @team:DataDog/dashboards-backend
1143
+ @generated @skip @team:DataDog/reporting-and-sharing
1144
1144
Scenario : Send shared dashboard invitation email returns "Bad Request" response
1145
1145
Given new "SendPublicDashboardInvitation" request
1146
1146
And request contains "token" parameter from "REPLACE.ME"
1147
1147
And body with value {"data" : [{"attributes" : {"email" : "test@datadoghq.com" }, "type" : "public_dashboard_invitation" }]}
1148
1148
When the request is sent
1149
1149
Then the response status is 400 Bad Request
1150
1150
1151
- @generated @skip @team:DataDog/dashboards-backend
1151
+ @generated @skip @team:DataDog/reporting-and-sharing
1152
1152
Scenario : Send shared dashboard invitation email returns "Not Found" response
1153
1153
Given new "SendPublicDashboardInvitation" request
1154
1154
And request contains "token" parameter from "REPLACE.ME"
1155
1155
And body with value {"data" : [{"attributes" : {"email" : "test@datadoghq.com" }, "type" : "public_dashboard_invitation" }]}
1156
1156
When the request is sent
1157
1157
Then the response status is 404 Not Found
1158
1158
1159
- @team:DataDog/dashboards-backend
1159
+ @team:DataDog/reporting-and-sharing
1160
1160
Scenario : Send shared dashboard invitation email returns "OK" response
1161
1161
Given there is a valid "dashboard" in the system
1162
1162
And there is a valid "shared_dashboard" in the system
@@ -1204,23 +1204,23 @@ Feature: Dashboards
1204
1204
Then the response status is 200 OK
1205
1205
And the response "tags" is equal to ["team:foo" , "team:bar" ]
1206
1206
1207
- @generated @skip @team:DataDog/dashboards-backend
1207
+ @generated @skip @team:DataDog/reporting-and-sharing
1208
1208
Scenario : Update a shared dashboard returns "Bad Request" response
1209
1209
Given new "UpdatePublicDashboard" request
1210
1210
And request contains "token" parameter from "REPLACE.ME"
1211
1211
And body with value {"global_time" : {"live_span" : "1h" }, "share_list" : ["test@datadoghq.com" , "test2@datadoghq.com" ], "share_type" : "invite" }
1212
1212
When the request is sent
1213
1213
Then the response status is 400 Bad Request
1214
1214
1215
- @generated @skip @team:DataDog/dashboards-backend
1215
+ @generated @skip @team:DataDog/reporting-and-sharing
1216
1216
Scenario : Update a shared dashboard returns "Item Not Found" response
1217
1217
Given new "UpdatePublicDashboard" request
1218
1218
And request contains "token" parameter from "REPLACE.ME"
1219
1219
And body with value {"global_time" : {"live_span" : "1h" }, "share_list" : ["test@datadoghq.com" , "test2@datadoghq.com" ], "share_type" : "invite" }
1220
1220
When the request is sent
1221
1221
Then the response status is 404 Item Not Found
1222
1222
1223
- @team:DataDog/dashboards-backend
1223
+ @team:DataDog/reporting-and-sharing
1224
1224
Scenario : Update a shared dashboard returns "OK" response
1225
1225
Given there is a valid "dashboard" in the system
1226
1226
And there is a valid "shared_dashboard" in the system
0 commit comments