|
13 | 13 | <title value="Make reorder as customer on frontend"/>
|
14 | 14 | <description value="Make reorder as customer on Frontend with simple product custom options"/>
|
15 | 15 | <severity value="CRITICAL"/>
|
16 |
| - <testCaseId value=""/> |
| 16 | + <testCaseId value="MC-42899"/> |
17 | 17 | <useCaseId value="MC-41981" />
|
18 | 18 | <group value="sales"/>
|
19 | 19 | </annotations>
|
20 | 20 |
|
21 | 21 | <before>
|
22 |
| - <!-- Login As Admin --> |
| 22 | + <!-- Login As Admin --> |
23 | 23 | <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
|
24 | 24 | <!-- Create Customer -->
|
25 | 25 | <createData entity="Simple_US_Customer" stepKey="createCustomer"/>
|
|
31 | 31 |
|
32 | 32 | <after>
|
33 | 33 | <deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
|
34 |
| - <deleteData stepKey="deleteDefaultCategory" createDataKey="initialCategoryEntity"/> |
35 |
| - <deleteData stepKey="deleteSimpleProduct" createDataKey="initialSimpleProduct"/> |
| 34 | + <deleteData createDataKey="initialCategoryEntity" stepKey="deleteDefaultCategory"/> |
| 35 | + <deleteData createDataKey="initialSimpleProduct" stepKey="deleteSimpleProduct"/> |
36 | 36 | <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
|
37 | 37 | </after>
|
38 | 38 |
|
|
55 | 55 | <argument name="optionValue" value="ProductOptionValueDropdown1"/>
|
56 | 56 | </actionGroup>
|
57 | 57 |
|
58 |
| - <!-- Add Custom file option --> |
| 58 | + <!-- Add Custom file option --> |
59 | 59 | <actionGroup ref="AddProductCustomOptionFileActionGroup" stepKey="addFileOption">
|
60 | 60 | <argument name="option" value="ProductOptionFile"/>
|
61 | 61 | </actionGroup>
|
|
84 | 84 | <argument name="productUrl" value="$$initialSimpleProduct.custom_attributes[url_key]$$"/>
|
85 | 85 | </actionGroup>
|
86 | 86 |
|
87 |
| - <!--Select Option From First DropDown option --> |
| 87 | + <!-- Select Option From First DropDown option --> |
88 | 88 | <actionGroup ref="StorefrontProductPageSelectDropDownOptionValueActionGroup" stepKey="selectFirstOption">
|
89 | 89 | <argument name="attributeLabel" value="{{ProductOptionDropDown.title}}"/>
|
90 | 90 | <argument name="optionLabel" value="{{ProductOptionValueDropdown1.title}}"/>
|
91 | 91 | </actionGroup>
|
92 | 92 |
|
93 |
| - <!-- Attach file option--> |
| 93 | + <!-- Attach file option --> |
94 | 94 | <actionGroup ref="StorefrontAttachOptionFileActionGroup" stepKey="selectAndAttachFile"/>
|
95 | 95 |
|
96 |
| - <!--Select Option From Second DropDown option --> |
| 96 | + <!-- Select Option From Second DropDown option --> |
97 | 97 | <actionGroup ref="StorefrontProductPageSelectDropDownOptionValueActionGroup" stepKey="selectSecondOption">
|
98 | 98 | <argument name="attributeLabel" value="{{ProductOptionDropDownWithLongValuesTitle.title}}"/>
|
99 | 99 | <argument name="optionLabel" value="{{ProductOptionValueDropdown2.title}}"/>
|
100 | 100 | </actionGroup>
|
101 | 101 |
|
102 |
| - <!-- Add Product to Card --> |
| 102 | + <!-- Add Product to Card --> |
103 | 103 | <actionGroup ref="StorefrontAddProductToCartActionGroup" stepKey="addProductToCart">
|
104 | 104 | <argument name="product" value="$$initialSimpleProduct$$"/>
|
105 | 105 | <argument name="productCount" value="1"/>
|
|
112 | 112 | <!-- Log out from storefront as Customer -->
|
113 | 113 | <actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="customerLogOut"/>
|
114 | 114 |
|
115 |
| - <!-- Again Login As Admin --> |
| 115 | + <!-- Again Login As Admin --> |
116 | 116 | <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdminForSubmitShipment"/>
|
117 | 117 |
|
118 | 118 | <!-- Open order -->
|
119 | 119 | <actionGroup ref="OpenOrderByIdActionGroup" stepKey="openOrderForCreatingShipment">
|
120 | 120 | <argument name="orderId" value="{$grabOrderNumber}"/>
|
121 | 121 | </actionGroup>
|
122 |
| - <!--Create Shipment for the order--> |
| 122 | + <!-- Create Shipment for the order --> |
123 | 123 | <actionGroup ref="GoToShipmentIntoOrderActionGroup" stepKey="startCreateShipment"/>
|
124 | 124 | <actionGroup ref="SubmitShipmentIntoOrderActionGroup" stepKey="submitShipment"/>
|
125 | 125 |
|
126 | 126 | <actionGroup ref="AdminLogoutActionGroup" stepKey="logoutAdmin"/>
|
127 | 127 |
|
128 |
| - <!-- Login to storefront as Customer for Reorder--> |
| 128 | + <!-- Login to storefront as Customer for Reorder --> |
129 | 129 | <actionGroup ref="LoginToStorefrontActionGroup" stepKey="customerLoginForReorder">
|
130 | 130 | <argument name="Customer" value="$$createCustomer$$"/>
|
131 | 131 | </actionGroup>
|
|
0 commit comments