Skip to content

Commit 1fbe856

Browse files
committed
[release/2024-10-31] fix-forward: update feature tests
1 parent bc00d50 commit 1fbe856

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

src/api/tests/feature_tests/features/createDeviceReferenceDataMessageSet.failure.feature

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Feature: Create "Message Set" Device Reference Data - failure scenarios
1414
| ods_code | F5H1R |
1515
And I note the response field "$.id" as "product_team_id"
1616
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/Epr" with body:
17-
| path | value |
18-
| product_name | My Great Product |
17+
| path | value |
18+
| name | My Great Product |
1919
And I note the response field "$.id" as "product_id"
2020
When I make a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/DeviceReferenceData/MhsMessageSet" with body:
2121
| path | value |
@@ -36,8 +36,8 @@ Feature: Create "Message Set" Device Reference Data - failure scenarios
3636
| ods_code | F5H1R |
3737
And I note the response field "$.id" as "product_team_id"
3838
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/Epr" with body:
39-
| path | value |
40-
| product_name | My Great Product |
39+
| path | value |
40+
| name | My Great Product |
4141
And I note the response field "$.id" as "product_id"
4242
When I make a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/DeviceReferenceData/MhsMessageSet" with body:
4343
| path | value |
@@ -61,8 +61,8 @@ Feature: Create "Message Set" Device Reference Data - failure scenarios
6161
| ods_code | F5H1R |
6262
And I note the response field "$.id" as "product_team_id"
6363
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/Epr" with body:
64-
| path | value |
65-
| product_name | My Great Product |
64+
| path | value |
65+
| name | My Great Product |
6666
And I note the response field "$.id" as "product_id"
6767
When I make a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/DeviceReferenceData/MhsMessageSet" with body:
6868
| path | value |
@@ -86,8 +86,8 @@ Feature: Create "Message Set" Device Reference Data - failure scenarios
8686
| ods_code | F5H1R |
8787
And I note the response field "$.id" as "product_team_id"
8888
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/Epr" with body:
89-
| path | value |
90-
| product_name | My Great Product |
89+
| path | value |
90+
| name | My Great Product |
9191
And I note the response field "$.id" as "product_id"
9292
When I make a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/DeviceReferenceData/MhsMessageSet" with body:
9393
| path | value |
@@ -108,8 +108,8 @@ Feature: Create "Message Set" Device Reference Data - failure scenarios
108108
| ods_code | F5H1R |
109109
And I note the response field "$.id" as "product_team_id"
110110
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/Epr" with body:
111-
| path | value |
112-
| product_name | My Great Product |
111+
| path | value |
112+
| name | My Great Product |
113113
And I note the response field "$.id" as "product_id"
114114
And I note the response field "$.keys.0.key_value" as "party_key"
115115
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/DeviceReferenceData/MhsMessageSet"
@@ -130,8 +130,8 @@ Feature: Create "Message Set" Device Reference Data - failure scenarios
130130
| ods_code | F5H1R |
131131
And I note the response field "$.id" as "product_team_id"
132132
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product" with body:
133-
| path | value |
134-
| product_name | My Great Product |
133+
| path | value |
134+
| name | My Great Product |
135135
And I note the response field "$.id" as "product_id"
136136
When I make a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/DeviceReferenceData/MhsMessageSet"
137137
Then I receive a status code "400" with body

src/api/tests/feature_tests/features/createDeviceReferenceDataMessageSet.success.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Feature: Create "Message Set" Device Reference Data - success scenarios
1414
| ods_code | F5H1R |
1515
And I note the response field "$.id" as "product_team_id"
1616
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/Epr" with body:
17-
| path | value |
18-
| product_name | My Great Product |
17+
| path | value |
18+
| name | My Great Product |
1919
And I note the response field "$.id" as "product_id"
2020
And I note the response field "$.keys.0.key_value" as "party_key"
2121
When I make a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/DeviceReferenceData/MhsMessageSet"
@@ -59,8 +59,8 @@ Feature: Create "Message Set" Device Reference Data - success scenarios
5959
| ods_code | F5H1R |
6060
And I note the response field "$.id" as "product_team_id"
6161
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/Epr" with body:
62-
| path | value |
63-
| product_name | My Great Product |
62+
| path | value |
63+
| name | My Great Product |
6464
And I note the response field "$.id" as "product_id"
6565
And I note the response field "$.keys.0.key_value" as "party_key"
6666
When I make a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/DeviceReferenceData/MhsMessageSet" with body:

0 commit comments

Comments
 (0)