|
68 | 68 | <argument name="inputType" value="{{BundleProduct.optionInputType1}}"/>
|
69 | 69 | </actionGroup>
|
70 | 70 |
|
71 |
| - <!--<!– Check that Bundle Options initialized with default quantity –>--> |
72 |
| - <!--<grabValueFrom selector="{{AdminProductFormBundleSection.bundleOptionXProductYQuantity('0', '0')}}" stepKey="grabbedFirstBundleOptionQuantity"/>--> |
73 |
| - <!--<assertEquals stepKey="assertFirstBundleOptionDefaultQuantity">--> |
74 |
| - <!--<expectedResult type="string">1</expectedResult>--> |
75 |
| - <!--<actualResult type="string">$grabbedFirstBundleOptionQuantity</actualResult>--> |
76 |
| - <!--</assertEquals>--> |
77 |
| - <!--<grabValueFrom selector="{{AdminProductFormBundleSection.bundleOptionXProductYQuantity('0', '1')}}" stepKey="grabbedSecondBundleOptionQuantity"/>--> |
78 |
| - <!--<assertEquals stepKey="assertSecondBundleOptionDefaultQuantity">--> |
79 |
| - <!--<expectedResult type="string">1</expectedResult>--> |
80 |
| - <!--<actualResult type="string">$grabbedSecondBundleOptionQuantity</actualResult>--> |
81 |
| - <!--</assertEquals>--> |
| 71 | + <!-- Check that Bundle Options initialized with proper quantity --> |
| 72 | + <grabValueFrom selector="{{AdminProductFormBundleSection.bundleOptionXProductYQuantity('0', '0')}}" stepKey="grabbedFirstBundleOptionQuantity"/> |
| 73 | + <assertEquals stepKey="assertFirstBundleOptionDefaultQuantity"> |
| 74 | + <expectedResult type="string">50</expectedResult> |
| 75 | + <actualResult type="string">$grabbedFirstBundleOptionQuantity</actualResult> |
| 76 | + </assertEquals> |
| 77 | + <grabValueFrom selector="{{AdminProductFormBundleSection.bundleOptionXProductYQuantity('0', '1')}}" stepKey="grabbedSecondBundleOptionQuantity"/> |
| 78 | + <assertEquals stepKey="assertSecondBundleOptionDefaultQuantity"> |
| 79 | + <expectedResult type="string">50</expectedResult> |
| 80 | + <actualResult type="string">$grabbedSecondBundleOptionQuantity</actualResult> |
| 81 | + </assertEquals> |
82 | 82 |
|
83 | 83 | <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="fillProductDefaultQty1"/>
|
84 | 84 | <comment userInput="Comment is added to preserve the step key for backward compatibility" stepKey="fillProductDefaultQty2"/>
|
|
97 | 97 | <!--Checking on admin side-->
|
98 | 98 | <scrollToTopOfPage stepKey="scroll"/>
|
99 | 99 | <conditionalClick selector="{{AdminProductFormBundleSection.bundleItemsToggle}}" dependentSelector="{{AdminProductFormBundleSection.bundleItemsToggle}}" visible="false" stepKey="conditionallyOpenSectionBundleItems2"/>
|
100 |
| - <seeElement stepKey="LookingForBundleItemPresence" selector="{{AdminProductFormBundleSection.listedBundleItem}}"/> |
| 100 | + <seeElement selector="{{AdminProductFormBundleSection.bundleOptionXTitle('0')}}" stepKey="LookingForBundleItemPresence"/> |
101 | 101 |
|
102 | 102 | <!--Checking on customer side-->
|
103 | 103 | <actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="GoToProductPage">
|
|
162 | 162 | <!--Checking on admin side-->
|
163 | 163 | <scrollToTopOfPage stepKey="scrollAgain"/>
|
164 | 164 | <conditionalClick selector="{{AdminProductFormBundleSection.bundleItemsToggle}}" dependentSelector="{{AdminProductFormBundleSection.bundleItemsToggle}}" visible="false" stepKey="conditionallyOpenNewSectionBundleItems2"/>
|
165 |
| - <seeElement selector="{{AdminProductFormBundleSection.listedBundleItem2}}" stepKey="LookingForNewBundleItemPresence"/> |
| 165 | + <seeElement selector="{{AdminProductFormBundleSection.bundleOptionXTitle('1')}}" stepKey="LookingForNewBundleItemPresence"/> |
| 166 | + |
166 | 167 | <!--Checking on customer side-->
|
167 | 168 | <actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="GoToProductPageAgain">
|
168 | 169 | <argument name="productUrl" value="{{BundleProduct.urlKey}}"/>
|
|
0 commit comments