@@ -1358,17 +1358,25 @@ Feature: Dashboards
13581358 Then the response status is 404 Not Found
13591359
13601360 @team:DataDog/reporting-and-sharing
1361- Scenario : Send shared dashboard invitation email returns "OK" response
1361+ Scenario : Send shared dashboard invitation email returns "OK"
13621362 Given there is a valid "dashboard" in the system
13631363 And there is a valid "shared_dashboard" in the system
13641364 And new "SendPublicDashboardInvitation" request
13651365 And request contains "token" parameter from "shared_dashboard.token"
13661366 And body with value {"data" : {"attributes" : {"email" : "{{unique_lower_alnum}}@datadoghq.com" }, "type" : "public_dashboard_invitation" }}
13671367 When the request is sent
13681368 Then the response status is 201 OK
1369- And the response "data.attributes.email" has the same value as "shared_dashboard.share_list[0 ]"
1369+ And the response "data.attributes.email" has the same value as "shared_dashboard.share_list[1 ]"
13701370 And the response "data.attributes.share_token" has the same value as "shared_dashboard.token"
13711371
1372+ @generated @skip @team:DataDog/reporting-and-sharing
1373+ Scenario : Send shared dashboard invitation email returns "OK" response
1374+ Given new "SendPublicDashboardInvitation" request
1375+ And request contains "token" parameter from "REPLACE.ME"
1376+ And body with value {"data" : [{"attributes" : {"email" : "test@datadoghq.com" }, "type" : "public_dashboard_invitation" }]}
1377+ When the request is sent
1378+ Then the response status is 201 OK
1379+
13721380 @generated @skip @team:DataDog/dashboards-backend
13731381 Scenario : Update a dashboard returns "Bad Request" response
13741382 Given new "UpdateDashboard" request
0 commit comments