|
21 | 21 | <!--Fill URL input-->
|
22 | 22 | <fillField userInput="{{BundleProduct.urlKey}}" selector="{{AdminProductFormBundleSection.urlKey}}" stepKey="FillsinSEOlinkExtension"/>
|
23 | 23 | </actionGroup>
|
| 24 | + |
| 25 | + <actionGroup name="addBundleOptionWithTwoProducts"> |
| 26 | + <arguments> |
| 27 | + <argument name="x" type="string"/> |
| 28 | + <argument name="n" type="string"/> |
| 29 | + <argument name="prodOneSku" type="string"/> |
| 30 | + <argument name="prodTwoSku" type="string"/> |
| 31 | + <argument name="optionTitle" type="string"/> |
| 32 | + <argument name="inputType" type="string"/> |
| 33 | + </arguments> |
| 34 | + <conditionalClick selector="{{AdminProductFormBundleSection.bundleItemsToggle}}" dependentSelector="{{AdminProductFormBundleSection.bundleItemsToggle}}" visible="false" stepKey="conditionallyOpenSectionBundleItems"/> |
| 35 | + <scrollTo selector="{{AdminProductFormBundleSection.bundleItemsToggle}}" stepKey="scrollUpABit"/> |
| 36 | + <click selector="{{AdminProductFormBundleSection.addOption}}" stepKey="clickAddOption"/> |
| 37 | + <waitForElementVisible selector="{{AdminProductFormBundleSection.bundleOptionXTitle(x)}}" stepKey="waitForOptions"/> |
| 38 | + <fillField selector="{{AdminProductFormBundleSection.bundleOptionXTitle(x)}}" userInput="{{optionTitle}}" stepKey="fillTitle"/> |
| 39 | + <selectOption selector="{{AdminProductFormBundleSection.bundleOptionXInputType(x)}}" userInput="{{inputType}}" stepKey="selectType"/> |
| 40 | + <waitForElementVisible selector="{{AdminProductFormBundleSection.nthAddProductsToOption(n)}}" stepKey="waitForAddBtn"/> |
| 41 | + <click selector="{{AdminProductFormBundleSection.nthAddProductsToOption(n)}}" stepKey="clickAdd"/> |
| 42 | + <conditionalClick selector="{{AdminProductGridFilterSection.clearFilters}}" dependentSelector="{{AdminProductGridFilterSection.clearFilters}}" visible="true" stepKey="clickClearFilters1"/> |
| 43 | + <click selector="{{AdminProductGridFilterSection.filters}}" stepKey="openProductFilters1"/> |
| 44 | + <fillField selector="{{AdminProductGridFilterSection.skuFilter}}" userInput="{{prodOneSku}}" stepKey="fillProductSkuFilter1"/> |
| 45 | + <click selector="{{AdminProductGridFilterSection.applyFilters}}" stepKey="clickApplyFilters1"/> |
| 46 | + <waitForElementNotVisible selector="{{AdminProductGridSection.loadingMask}}" stepKey="waitForFilteredGridLoad1" time="30"/> |
| 47 | + <checkOption selector="{{AdminAddProductsToOptionPanel.firstCheckbox}}" stepKey="selectProduct1"/> |
| 48 | + <conditionalClick selector="{{AdminProductGridFilterSection.clearFilters}}" dependentSelector="{{AdminProductGridFilterSection.clearFilters}}" visible="true" stepKey="clickClearFilters2"/> |
| 49 | + <click selector="{{AdminProductGridFilterSection.filters}}" stepKey="openProductFilters2"/> |
| 50 | + <fillField selector="{{AdminProductGridFilterSection.skuFilter}}" userInput="{{prodTwoSku}}" stepKey="fillProductSkuFilter2"/> |
| 51 | + <click selector="{{AdminProductGridFilterSection.applyFilters}}" stepKey="clickApplyFilters2"/> |
| 52 | + <waitForElementNotVisible selector="{{AdminProductGridSection.loadingMask}}" stepKey="waitForFilteredGridLoad2" time="30"/> |
| 53 | + <checkOption selector="{{AdminAddProductsToOptionPanel.firstCheckbox}}" stepKey="selectProduct2"/> |
| 54 | + <click selector="{{AdminAddProductsToOptionPanel.addSelectedProducts}}" stepKey="clickAddButton1"/> |
| 55 | + <fillField selector="{{AdminProductFormBundleSection.bundleOptionXProductYQuantity(x, '0')}}" userInput="50" stepKey="fillQuantity1"/> |
| 56 | + <fillField selector="{{AdminProductFormBundleSection.bundleOptionXProductYQuantity(x, '1')}}" userInput="50" stepKey="fillQuantity2"/> |
| 57 | + </actionGroup> |
24 | 58 | </actionGroups>
|
0 commit comments