Skip to content

Commit c1aa918

Browse files
committed
MQE-2126: Can't modify DataEntity data
- code review updates
1 parent cfbc5c0 commit c1aa918

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

dev/tests/functional/tests/MFTF/DevDocs/Test/DevDocsTest.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@
4646
<argument name="test" value="{{HelperData.entityField}}" />
4747
<argument name="entityTest" value="HelperData" />
4848
</actionGroup>
49-
<comment userInput="{{MessageData.numbers}}" stepKey="outputMergedArray" />
49+
50+
<assertEqualsCanonicalizing stepKey="assertMergedArray">
51+
<actualResult type="array">{{MessageData.numbers}}</actualResult>
52+
<expectedResult type="array">["Something New", "0", "1", "2", "3"]</expectedResult>
53+
</assertEqualsCanonicalizing>
5054
</test>
5155
</tests>

docs/data.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,11 @@ Attributes|Type|Use|Description
276276

277277
`<item>` is an individual piece of data to be passed in as part of the parent `<array>` type.
278278

279+
Attributes|Type|Use|Description
280+
---|---|---|---
281+
`name`|string|optional|Key attribute of <item/> entity in which to assign a value. By default numeric key will be generated.
282+
283+
279284
<!-- Link Definitions -->
280285
[`<array>`]: #array-tag
281286
[`<data>`]: #data-tag

0 commit comments

Comments
 (0)