|
30 | 30 | <deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
|
31 | 31 | <deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
|
32 | 32 | <deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
|
33 |
| - <comment userInput="Rollback config" stepKey="rollbackConfigComment"/> |
| 33 | + <!--Rollback config--> |
34 | 34 | <actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="openShippingMethodSystemConfigPage"/>
|
35 | 35 | <actionGroup ref="AdminSwitchWebsiteActionGroup" stepKey="AdminSwitchStoreViewToMainWebsite">
|
36 | 36 | <argument name="website" value="_defaultWebsite"/>
|
|
41 | 41 | <actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveSystemConfig"/>
|
42 | 42 | <actionGroup ref="logout" stepKey="logout"/>
|
43 | 43 | </after>
|
44 |
| - <comment userInput="Admin Configuration: enable Table Rates and import CSV file with the rates" stepKey="prepareAdminConfigurationComment"/> |
| 44 | + <!--Admin Configuration: enable Table Rates and import CSV file with the rates--> |
45 | 45 | <actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="openShippingMethodConfigPage"/>
|
46 | 46 | <actionGroup ref="AdminSwitchWebsiteActionGroup" stepKey="AdminSwitchStoreView">
|
47 | 47 | <argument name="website" value="_defaultWebsite"/>
|
48 | 48 | </actionGroup>
|
49 | 49 | <actionGroup ref="AdminChangeTableRatesShippingMethodStatusActionGroup" stepKey="enableTableRatesShippingMethod"/>
|
50 | 50 | <attachFile selector="{{AdminShippingMethodTableRatesSection.importFile}}" userInput="tablerates.csv" stepKey="attachFileForImport"/>
|
51 | 51 | <actionGroup ref="AdminSaveConfigActionGroup" stepKey="saveConfig"/>
|
52 |
| - <comment userInput="Login as created customer" stepKey="loginAsCustomerComment"/> |
| 52 | + <!--Login as created customer--> |
53 | 53 | <actionGroup ref="LoginToStorefrontActionGroup" stepKey="loginAsCustomer">
|
54 | 54 | <argument name="Customer" value="$$createCustomer$$"/>
|
55 | 55 | </actionGroup>
|
56 |
| - <comment userInput="Add the created product to the shopping cart" stepKey="addProductToCartComment"/> |
| 56 | + <!--Add the created product to the shopping cart--> |
57 | 57 | <actionGroup ref="AddSimpleProductToCart" stepKey="addProductToCart">
|
58 | 58 | <argument name="product" value="$$createProduct$$"/>
|
59 | 59 | </actionGroup>
|
60 |
| - <comment userInput="Proceed to Checkout from the mini cart" stepKey="proceedToCheckoutComment"/> |
| 60 | + <!--Proceed to Checkout from the mini cart--> |
61 | 61 | <actionGroup ref="GoToCheckoutFromMinicartActionGroup" stepKey="goToCheckoutFromMinicart" />
|
62 |
| - <comment userInput="Shipping Method: select table rate" stepKey="assertShippingMethodComment"/> |
| 62 | + <!--Shipping Method: select table rate--> |
63 | 63 | <actionGroup ref="AssertStoreFrontShippingMethodAvailableActionGroup" stepKey="assertShippingMethodAvailable">
|
64 | 64 | <argument name="shippingMethodName" value="Best Way"/>
|
65 | 65 | </actionGroup>
|
66 | 66 | <actionGroup ref="SetShippingMethodActionGroup" stepKey="setShippingMethodTableRate">
|
67 | 67 | <argument name="shippingMethodName" value="Best Way"/>
|
68 | 68 | </actionGroup>
|
69 |
| - <comment userInput="Proceed to Review and Payments section" stepKey="proceedToReviewAndPaymentsComment"/> |
| 69 | + <!--Proceed to Review and Payments section--> |
70 | 70 | <click selector="{{CheckoutShippingSection.next}}" stepKey="clickToSaveShippingInfo"/>
|
71 | 71 | <waitForLoadingMaskToDisappear stepKey="waitForLoadingMaskAfterClickNext"/>
|
72 | 72 | <waitForPageLoad stepKey="waitForReviewAndPaymentsPageIsLoaded"/>
|
73 |
| - <comment userInput="Place order and assert the message of success" stepKey="placeOrderComment"/> |
74 |
| - <actionGroup ref="ClickPlaceOrderActionGroup" stepKey="clickOnPlaceOrder"/> |
| 73 | + <!--Place order and assert the message of success--> |
| 74 | + <actionGroup ref="ClickPlaceOrderActionGroup" stepKey="placeOrderProductSuccessful"/> |
75 | 75 | </test>
|
76 | 76 | </tests>
|
0 commit comments