Skip to content

Commit 0a8daf1

Browse files
committed
Mftf test case fix for min qty validation
1 parent 92c7ad3 commit 0a8daf1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/code/Magento/Catalog/Test/Mftf/Test/AdminAddInStockProductToTheCartTest.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
/**
4-
* Copyright © Magento, Inc. All rights reserved.
5-
* See COPYING.txt for license details.
4+
* Copyright 2019 Adobe
5+
* All Rights Reserved.
66
*/
77
-->
88

@@ -48,7 +48,7 @@
4848
<argument name="value" value="Yes"/>
4949
</actionGroup>
5050
<actionGroup ref="AdminFillAdvancedInventoryQtyActionGroup" stepKey="fillProductQty">
51-
<argument name="qty" value="5"/>
51+
<argument name="qty" value="8"/>
5252
</actionGroup>
5353
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="uncheckMiniQtyCheckBox"/>
5454
<actionGroup ref="AdminSetMinAllowedQtyForProductActionGroup" stepKey="fillMiniAllowedQty">
@@ -111,17 +111,17 @@
111111
<argument name="productQty" value="4"/>
112112
</actionGroup>
113113
<actionGroup ref="StorefrontAddProductToCartWithQtyActionGroup" stepKey="addAdditionalProductToCart">
114-
<argument name="productQty" value="1"/>
114+
<argument name="productQty" value="4"/>
115115
</actionGroup>
116116
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="seeSuccessSaveMessage"/>
117117
<seeElement selector="{{StorefrontMinicartSection.quantity(6)}}" stepKey="seeAddedProductQuantityInCart"/>
118118
<actionGroup ref="StorefrontClickOnMiniCartActionGroup" stepKey="clickOnMiniCart"/>
119-
<executeJS function="return {{SimpleProduct.price}} * 5" stepKey="expectedCartSubtotal"/>
119+
<executeJS function="return {{SimpleProduct.price}} * 8" stepKey="expectedCartSubtotal"/>
120120
<actionGroup ref="AssertStorefrontMiniCartItemsActionGroup" stepKey="seeProductNameInMiniCart">
121121
<argument name="productName" value="{{SimpleProduct.name}}"/>
122122
<argument name="productPrice" value="{{SimpleProduct.price}}"/>
123123
<argument name="cartSubtotal" value="{$expectedCartSubtotal}" />
124-
<argument name="qty" value="5"/>
124+
<argument name="qty" value="8"/>
125125
</actionGroup>
126126
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="seeProductPriceInMiniCart"/>
127127
<comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="seeCheckOutButtonInMiniCart"/>

0 commit comments

Comments
 (0)