Skip to content

Commit 7f9452b

Browse files
Issue-34432 Fixed the failing functional test
1 parent 88e9708 commit 7f9452b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/code/Magento/Bundle/Test/Mftf/Test/AdminAddBundleItemsTest.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@
6060
<actionGroup ref="AdminClickAddSelectedProductsOnAddProductsToOptionPanelActionGroup" stepKey="clickAddSelectedBundleProducts"/>
6161
<grabValueFrom selector="{{AdminProductFormBundleSection.bundleOptionXProductYQuantity('0', '0')}}" stepKey="grabbedFirstBundleOptionQuantity"/>
6262
<assertEquals stepKey="assertFirstBundleOptionDefaultQuantity">
63-
<expectedResult type="string">50</expectedResult>
63+
<expectedResult type="string">1</expectedResult>
6464
<actualResult type="string">$grabbedFirstBundleOptionQuantity</actualResult>
6565
</assertEquals>
6666
<grabValueFrom selector="{{AdminProductFormBundleSection.bundleOptionXProductYQuantity('0', '1')}}" stepKey="grabbedSecondBundleOptionQuantity"/>
6767
<assertEquals stepKey="assertSecondBundleOptionDefaultQuantity">
68-
<expectedResult type="string">50</expectedResult>
68+
<expectedResult type="string">1</expectedResult>
6969
<actualResult type="string">$grabbedSecondBundleOptionQuantity</actualResult>
7070
</assertEquals>
7171
<actionGroup ref="AdminFillBundleItemQtyActionGroup" stepKey="fillProductDefaultQty1">
@@ -130,12 +130,12 @@
130130
<actionGroup ref="AdminClickAddSelectedProductsOnAddProductsToOptionPanelActionGroup" stepKey="clickAddNewSelectedBundleProducts"/>
131131
<grabValueFrom selector="{{AdminProductFormBundleSection.bundleOptionXProductYQuantity('0', '0')}}" stepKey="grabbedFirstBundleOptionQuantityAfterUserInput"/>
132132
<assertEquals stepKey="assertFirstBundleOptionDefaultQuantityAfterUserInput">
133-
<expectedResult type="string">50</expectedResult>
133+
<expectedResult type="string">{{BundleProduct.defaultQuantity}}</expectedResult>
134134
<actualResult type="string">$grabbedFirstBundleOptionQuantityAfterUserInput</actualResult>
135135
</assertEquals>
136136
<grabValueFrom selector="{{AdminProductFormBundleSection.bundleOptionXProductYQuantity('0', '1')}}" stepKey="grabbedSecondBundleOptionQuantityAfterUserInput"/>
137137
<assertEquals stepKey="assertSecondBundleOptionDefaultQuantityAfterUserInput">
138-
<expectedResult type="string">50</expectedResult>
138+
<expectedResult type="string">{{BundleProduct.defaultQuantity}}</expectedResult>
139139
<actualResult type="string">$grabbedSecondBundleOptionQuantityAfterUserInput</actualResult>
140140
</assertEquals>
141141
<actionGroup ref="AdminFillBundleItemQtyActionGroup" stepKey="fillNewProductDefaultQty1">

0 commit comments

Comments
 (0)