|
31 | 31 | </before>
|
32 | 32 | <after>
|
33 | 33 | <!-- Disable shipping method for customer with default address -->
|
34 |
| - <magentoCLI command="config:set {{DisableFlatRateConfigData.path}} {{DisableFlatRateConfigData.value}}" stepKey="disableFlatRate"/> |
| 34 | + <magentoCLI command="config:set {{DisableFlatRateConfigData.path}} {{DisableFlatRateConfigData.value}}" |
| 35 | + stepKey="disableFlatRate"/> |
35 | 36 | <actionGroup ref="AdminLogoutActionGroup" stepKey="LogoutAsAdmin"/>
|
36 | 37 | <deleteData createDataKey="createSimpleProduct" stepKey="deleteSimpleProduct"/>
|
37 | 38 | <deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
|
|
44 | 45 | <actionGroup ref="NavigateToNewOrderPageExistingCustomerActionGroup" stepKey="CreateNewOrder">
|
45 | 46 | <argument name="customer" value="Simple_US_Customer"/>
|
46 | 47 | </actionGroup>
|
| 48 | + <waitForPageLoad stepKey="WaitForCreateOrderPage"/> |
47 | 49 |
|
48 |
| - <!--Click on "Add products by SKU" button > Type SKU > And add it to order without qty value--> |
| 50 | + <!--Click on "Add products by SKU" button > Type SKU > And add it to order with 1 qty value--> |
49 | 51 | <click selector="{{AdminOrderFormItemsOrderedSection.addProductsBySku}}" stepKey="clickAddProductsBySKUButton"/>
|
50 | 52 | <waitForElementVisible stepKey="waitForElementVisible" selector="{{AdminOrderFormItemsSection.skuNumber('0')}}"/>
|
51 |
| - <fillField selector="{{AdminOrderFormItemsSection.skuNumber('0')}}" stepKey="typeCreatedProductGroupSKU" userInput="$$createSimpleProduct.sku$$"/> |
| 53 | + <fillField selector="{{AdminOrderFormItemsSection.skuNumber('0')}}" stepKey="typeCreatedProductGroupSKU" |
| 54 | + userInput="$$createSimpleProduct.sku$$"/> |
52 | 55 | <fillField selector="{{AdminOrderFormItemsSection.qty('0')}}" stepKey="setOrderItemQuantity" userInput="1"/>
|
53 |
| - <pressKey selector="{{AdminOrderFormItemsSection.skuNumber('0')}}" parameterArray="[\Facebook\WebDriver\WebDriverKeys::ENTER]" stepKey="pressKey"/> |
| 56 | + <pressKey selector="{{AdminOrderFormItemsSection.skuNumber('0')}}" parameterArray="[\Facebook\WebDriver\WebDriverKeys::ENTER]" |
| 57 | + stepKey="pressKey"/> |
54 | 58 | <waitForPageLoad stepKey="WaitForProductAdd"/>
|
55 |
| - <waitForLoadingMaskToDisappear stepKey="wait1"/> |
| 59 | + <waitForLoadingMaskToDisappear stepKey="WaitForProductAddLoading"/> |
56 | 60 |
|
57 | 61 | <!-- Set product custom price -->
|
58 | 62 | <click selector="{{OrdersGridSection.customPrice($$createSimpleProduct.name$$)}}" stepKey="ClickOnCustomPrice"/>
|
59 |
| - <fillField selector="{{OrdersGridSection.customPriceInput($$createSimpleProduct.name$$)}}" userInput="10.00" stepKey="FillCustomPrice"/> |
| 63 | + <fillField selector="{{OrdersGridSection.customPriceInput($$createSimpleProduct.name$$)}}" userInput="10.00" |
| 64 | + stepKey="FillCustomPrice"/> |
60 | 65 | <click selector="{{AdminOrderFormItemsSection.updateItemsAndQuantities}}" stepKey="clickUpdateItemsAndQuantities"/>
|
61 |
| - <waitForPageLoad stepKey="waitForItemsAndQuantitesUpdating"/> |
| 66 | + <waitForPageLoad stepKey="waitForItemsAndQuantitiesUpdating"/> |
62 | 67 |
|
63 | 68 | <!--Select FlatRate shipping method-->
|
64 | 69 | <actionGroup ref="OrderSelectFlatRateShippingActionGroup" stepKey="orderSelectFlatRateShippingMethod"/>
|
|
0 commit comments