|
131 | 131 | <scrollTo selector="{{AdminOrderFormItemsSection.addSelected}}" x="0" y="-100" stepKey="scrollToAddSelectedButton"/>
|
132 | 132 | <click selector="{{AdminOrderFormItemsSection.addSelected}}" stepKey="clickAddSelectedProducts"/>
|
133 | 133 | </actionGroup>
|
| 134 | + <actionGroup name="AdminAddProductToOrderBySKU"> |
| 135 | + <arguments> |
| 136 | + <argument name="productSKU" type="string"/> |
| 137 | + <argument name="productQty" type="string"/> |
| 138 | + <argument name="productNumber" type="string"/> |
| 139 | + </arguments> |
| 140 | + <click selector="{{AdminOrderFormItemsOrderedSection.addProductsBySku}}" stepKey="clickAddProduct"/> |
| 141 | + <fillField selector="{{AdminOrderFormItemsSection.skuNumber(productNumber)}}" userInput="{{productSKU}}" stepKey="fillProductSKU"/> |
| 142 | + <fillField selector="{{AdminOrderFormItemsSection.qty(productNumber)}}" userInput="{{productQty}}" stepKey="fillProductQty"/> |
| 143 | + <click selector="{{AdminOrderFormItemsSection.addToOrder}}" stepKey="clickAddToOrder"/> |
| 144 | + </actionGroup> |
| 145 | + <actionGroup name="AdminOrderConfigureConfigurableProduct"> |
| 146 | + <arguments> |
| 147 | + <argument name="optionName" type="string"/> |
| 148 | + <argument name="productQty" type="string"/> |
| 149 | + </arguments> |
| 150 | + <click selector="{{AdminOrderFormItemsOrderedSection.configureButtonBySku}}" stepKey="clickConfigure"/> |
| 151 | + <waitForPageLoad stepKey="waitForConfigurePageLoad"/> |
| 152 | + <selectOption selector="{{AdminOrderFormConfigureProductSection.attributeSelect}}" userInput="{{optionName}}" stepKey="selectOption"/> |
| 153 | + <fillField selector="{{AdminOrderFormConfigureProductSection.quantity}}" userInput="{{productQty}}" stepKey="fillProductQty"/> |
| 154 | + <click selector="{{AdminOrderFormConfigureProductSection.ok}}" stepKey="clickOk"/> |
| 155 | + </actionGroup> |
| 156 | + <actionGroup name="AdminOrderConfigureBundleProduct"> |
| 157 | + <arguments> |
| 158 | + <argument name="productName" type="string"/> |
| 159 | + <argument name="productQty" type="string"/> |
| 160 | + <argument name="productNumber" type="string"/> |
| 161 | + </arguments> |
| 162 | + <click selector="{{AdminOrderFormItemsOrderedSection.configureButtonBySku}}" stepKey="clickConfigure"/> |
| 163 | + <waitForPageLoad stepKey="waitForConfigurePageLoad"/> |
| 164 | + <checkOption selector="{{AdminOrderFormConfigureProductSection.bundleProductCheckbox(productNumber)}}" stepKey="checkProduct"/> |
| 165 | + <fillField selector="{{AdminOrderFormConfigureProductSection.quantity}}" userInput="{{productQty}}" stepKey="fillProductQty"/> |
| 166 | + <click selector="{{AdminOrderFormConfigureProductSection.ok}}" stepKey="clickOk"/> |
| 167 | + </actionGroup> |
| 168 | + <actionGroup name="AdminOrderConfigureGroupedProduct"> |
| 169 | + <arguments> |
| 170 | + <argument name="productSku" type="string"/> |
| 171 | + <argument name="productQty" type="string"/> |
| 172 | + </arguments> |
| 173 | + <click selector="{{AdminOrderFormItemsOrderedSection.configureButtonBySku}}" stepKey="clickConfigure"/> |
| 174 | + <waitForPageLoad stepKey="waitForConfigurePageLoad"/> |
| 175 | + <fillField selector="{{AdminOrderFormGroupedProductSection.optionQty(productSku)}}" userInput="{{productQty}}" stepKey="fillOptionQuantity"/> |
| 176 | + <click selector="{{AdminOrderFormConfigureProductSection.ok}}" stepKey="clickOk"/> |
| 177 | + </actionGroup> |
134 | 178 |
|
135 | 179 | <!--Add configurable product to order -->
|
136 | 180 | <actionGroup name="addConfigurableProductToOrderFromAdmin" extends="addConfigurableProductToOrder">
|
|
0 commit comments