|
21 | 21 | </annotations>
|
22 | 22 | <before>
|
23 | 23 | <!--Create product and customer-->
|
24 |
| - <comment userInput="Create product and customer" stepKey="commentCreateProductAndCustomer"/> |
25 | 24 | <createData entity="SimpleProduct2" stepKey="createProduct"/>
|
26 | 25 | <createData entity="Simple_Customer_Without_Address" stepKey="createCustomer"/>
|
27 | 26 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
|
28 | 27 | <!--Create website, store group and store view-->
|
29 |
| - <comment userInput="Create website, store group and store view" stepKey="commentCreateWebsiteStoreAndView"/> |
30 | 28 | <actionGroup ref="AdminCreateWebsiteActionGroup" stepKey="createWebsite">
|
31 | 29 | <argument name="newWebsiteName" value="{{customWebsite.name}}"/>
|
32 | 30 | <argument name="websiteCode" value="{{customWebsite.code}}"/>
|
|
41 | 39 | <argument name="customStore" value="customStore"/>
|
42 | 40 | </actionGroup>
|
43 | 41 | <!--Enable Table Rate method and import csv file-->
|
44 |
| - <comment userInput="Enable Table Rate method and import csv file" stepKey="commentEnableTableRates"/> |
45 | 42 | <actionGroup ref="AdminOpenShippingMethodsConfigPageActionGroup" stepKey="openShippingMethodConfigPage"/>
|
46 | 43 | <actionGroup ref="AdminSwitchWebsiteActionGroup" stepKey="switchDefaultWebsite">
|
47 | 44 | <argument name="website" value="_defaultWebsite"/>
|
|
64 | 61 | </before>
|
65 | 62 | <after>
|
66 | 63 | <!--Delete created data-->
|
67 |
| - <comment userInput="Delete created data" stepKey="commetnDeleteCreatedData"/> |
68 | 64 | <deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
|
69 | 65 | <deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
|
70 | 66 | <actionGroup ref="AdminDeleteCustomerActionGroup" stepKey="deleteSecondCreatedCustomer">
|
|
76 | 72 | <actionGroup ref="logout" stepKey="logout"/>
|
77 | 73 | </after>
|
78 | 74 | <!--Assign product to custom website-->
|
79 |
| - <comment userInput="Assign product to custom website" stepKey="commentAssignProductToWebsite"/> |
80 | 75 | <amOnPage url="{{AdminProductEditPage.url($$createProduct.id$$)}}" stepKey="goToProductEditPage"/>
|
81 | 76 | <waitForPageLoad stepKey="waitForProductPageLoad"/>
|
82 | 77 | <actionGroup ref="unassignWebsiteFromProductActionGroup" stepKey="unassignWebsiteInProduct">
|
|
87 | 82 | </actionGroup>
|
88 | 83 | <actionGroup ref="saveProductForm" stepKey="saveProduct"/>
|
89 | 84 | <!--Assign customer to custom website-->
|
90 |
| - <comment userInput="Assign customer to custom website" stepKey="commentAssignCustomerToWebsite"/> |
91 | 85 | <actionGroup ref="AdminOpenCustomerEditPageActionGroup" stepKey="openCustomerEditPage">
|
92 | 86 | <argument name="customerId" value="$$createCustomer.id$$"/>
|
93 | 87 | </actionGroup>
|
|
96 | 90 | </actionGroup>
|
97 | 91 | <actionGroup ref="AdminSaveCustomerAndAssertSuccessMessage" stepKey="saveAndCheckSuccessMessage"/>
|
98 | 92 | <!--Create order-->
|
99 |
| - <comment userInput="Create order" stepKey="commentCreateOrder"/> |
100 | 93 | <actionGroup ref="navigateToNewOrderPageExistingCustomer" stepKey="navigateToNewOrderWithExistingCustomer">
|
101 | 94 | <argument name="customer" value="$$createCustomer$$"/>
|
102 | 95 | <argument name="storeView" value="customStore"/>
|
|
109 | 102 | <argument name="address" value="US_Address_TX"/>
|
110 | 103 | </actionGroup>
|
111 | 104 | <!--Choose Best Way shipping Method-->
|
112 |
| - <comment userInput="Choose Best Way shipping Method" stepKey="commentChooseShippingMethod"/> |
113 | 105 | <actionGroup ref="AdminOrderSelectShippingMethodActionGroup" stepKey="chooseBestWayMethod">
|
114 |
| - <argument name="methodTitle" value="Best Way"/> |
115 |
| - <argument name="methodName" value="Table Rate"/> |
| 106 | + <argument name="methodTitle" value="bestway"/> |
| 107 | + <argument name="methodName" value="tablerate"/> |
116 | 108 | </actionGroup>
|
117 | 109 | <actionGroup ref="AdminSubmitOrderActionGroup" stepKey="submitOrder"/>
|
118 | 110 | </test>
|
|
0 commit comments