Skip to content

Commit 02821fc

Browse files
committed
Improving the quantity usage
1 parent ff71487 commit 02821fc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/code/Magento/Catalog/Test/Mftf/Data/ProductData.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
<data key="sku" unique="suffix">x&#38;trade;</data>
4141
</entity>
4242
<entity name="SimpleProduct_25" type="product" extends="SimpleProduct2">
43+
<data key="quantity">25</data>
4344
<requiredEntity type="product_extension_attribute">EavStock25</requiredEntity>
4445
</entity>
4546
<entity name="ApiSimpleProductWithCustomPrice" type="product" extends="ApiSimpleProduct">

app/code/Magento/Sales/Test/Mftf/Test/AdminCreateOrderAndCheckTheReorderTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</actionGroup>
3333
<actionGroup ref="addSimpleProductToOrder" stepKey="addSimpleProductToOrder">
3434
<argument name="product" value="$$simpleProduct$$"/>
35-
<argument name="productQty" value="25"/>
35+
<argument name="productQty" value="{{SimpleProduct_25.quantity}}"/>
3636
</actionGroup>
3737
<actionGroup ref="SelectCashOnDeliveryPaymentMethodActionGroup" stepKey="selectPaymentMethod" />
3838
<actionGroup ref="orderSelectFlatRateShipping" stepKey="orderSelectFlatRateShippingMethod"/>

0 commit comments

Comments
 (0)