Skip to content

Commit e5d6714

Browse files
committed
ACP2E-3710: updated mftf test to reflect an invalid case and valid case with where only one option is added to cart
1 parent df1c97a commit e5d6714

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

app/code/Magento/GroupedProduct/Test/Mftf/Test/StoreFrontValidateGroupedProductQuantityInputErrorMessageTest.xml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<argument name="product1" value="$simple1.name$"/>
4848
<argument name="product2" value="$simple2.name$"/>
4949
<argument name="product3" value="$simple3.name$"/>
50-
<argument name="qty1" value="10"/>
50+
<argument name="qty1" value="0"/>
5151
<argument name="qty2" value="-10"/>
5252
<argument name="qty3" value="5"/>
5353
</actionGroup>
@@ -56,5 +56,15 @@
5656
<argument name="secondProductId" value="$simple2.id$"/>
5757
<argument name="thirdProductId" value="$simple3.id$"/>
5858
</actionGroup>
59+
<actionGroup ref="StorefrontAddThreeGroupedProductToTheCartActionGroup" stepKey="enterSimpleProductsQty2">
60+
<argument name="urlKey" value="$$product.custom_attributes[url_key]$$" />
61+
<argument name="product1" value="$simple1.name$"/>
62+
<argument name="product2" value="$simple2.name$"/>
63+
<argument name="product3" value="$simple3.name$"/>
64+
<argument name="qty1" value="0"/>
65+
<argument name="qty2" value="0"/>
66+
<argument name="qty3" value="5"/>
67+
</actionGroup>
68+
<see userInput="You added $$product.name$$ to your shopping cart" stepKey="seeGroupedAddedToCart"/>
5969
</test>
6070
</tests>

0 commit comments

Comments
 (0)