@@ -6,7 +6,7 @@ Feature: AssetCategory
66 | body .name | "smallTruck " |
77 When I successfully execute the action "device-manager/metadata" :"create" with args:
88 | engineId | "engine -ayse " |
9- | body .name | "length " |
9+ | body .name | "length " |
1010 | body .valueType | "integer " |
1111 | body .mandatory | false |
1212 When I successfully execute the action "device-manager/assetCategory" :"linkMetadata" with args:
@@ -35,10 +35,10 @@ Feature: AssetCategory
3535 | body .valueType | "integer " |
3636 | body .mandatory | false |
3737 When I successfully execute the action "device-manager/assetCategory" :"linkMetadata" with args:
38- | engineId | "engine -ayse " |
39- | _id | "strangeTruck " |
38+ | engineId | "engine -ayse " |
39+ | _id | "strangeTruck " |
4040 | metadataId | "volume " |
41- | body .value | 101 |
41+ | body .value | 101 |
4242 Then The document "engine-ayse" :"asset-category" :"strangeTruck" content match:
4343 | name | "strangeTruck " |
4444 | assetMetadata [0 ] | "volume " |
@@ -74,7 +74,6 @@ Feature: AssetCategory
7474 | category | null |
7575 | subCategory | null |
7676
77-
7877 Scenario : Remove an AssetCategory and verify propagation to a linked asset
7978 When I successfully execute the action "device-manager/assetCategory" :"create" with args:
8079 | engineId | "engine -ayse " |
@@ -234,10 +233,7 @@ Feature: AssetCategory
234233 | body .model | "M " |
235234 | body .reference | "asset_03 " |
236235 | body .category | "solarTruck " |
237- When I successfully execute the action "device-manager/asset" :"get" with args:
238- | engineId | "engine -ayse " |
239- | _id | "solarTruck -M -asset_03 " |
240- Then I should receive a result matching:
236+ Then The formatted document "engine-ayse" :"assets" :"solarTruck-M-asset_03" content match:
241237 | metadata .panelSurface | 101 |
242238
243239 Scenario : link, update and unlink a metadata on a parent category, and verify edition propagation on children category
0 commit comments