You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario: Cannot create a MHS Device with a Product that already has an MHS Device with no questionnaire responses
319
+
Given I have already made a "POST" request with "default" headers to "ProductTeam" with body:
320
+
| path | value |
321
+
| name | MyGreatProductTeam |
322
+
| ods_code | F5H1R |
323
+
And I note the response field "$.id" as "product_team_id"
324
+
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/Epr" with body:
325
+
| path | value |
326
+
| name | MyGreatProduct |
327
+
And I note the response field "$.id" as "product_id"
328
+
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/DeviceReferenceData/MhsMessageSet"
329
+
And I note the response field "$.id" as "message_set_drd_id"
330
+
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/Device/MessageHandlingSystem" with body:
And I note the response field "$.id" as "device_id"
350
+
When I make a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/Device/MessageHandlingSystem" with body:
Scenario Outline: Cannot create a MHS Device with a Product that already has an MHS Device with no questionnaire responses
230
-
Given I have already made a "POST" request with "default" headers to "ProductTeam" with body:
231
-
| path | value |
232
-
| name | MyGreatProductTeam |
233
-
| ods_code | F5H1R |
234
-
And I note the response field "$.id" as "product_team_id"
235
-
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/Epr" with body:
236
-
| path | value |
237
-
| name | MyGreatProduct |
238
-
And I note the response field "$.id" as "product_id"
239
-
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/DeviceReferenceData/MhsMessageSet"
240
-
And I note the response field "$.id" as "message_set_drd_id"
241
-
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/Device/MessageHandlingSystem" with body:
And I note the response field "$.id" as "device_id"
261
-
When I make a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/Device/MessageHandlingSystem" with body:
0 commit comments