|
9 | 9 | xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
|
10 | 10 | <test name="AdminReorderAddressNotSavedInAddressBookTest">
|
11 | 11 | <annotations>
|
12 |
| - <title value="Same shipping address is repeating multiple times in storefront checkout when Reordered"/> |
13 |
| - <stories value="MC-38113: Same shipping address is repeating multiple times in storefront checkout when Reordered"/> |
14 |
| - <description value="Same shipping address is repeating multiple times in storefront checkout when Reordered"/> |
15 | 12 | <features value="Sales"/>
|
16 |
| - <testCaseId value="MC-38113"/> |
| 13 | + <stories value="Reorder"/> |
| 14 | + <title value="Same shipping address is not repeating multiple times in storefront checkout when Reordered"/> |
| 15 | + <description value="Same shipping address is not repeating multiple times in storefront checkout when Reordered"/> |
| 16 | + <testCaseId value="MC-38412"/> |
| 17 | + <useCaseId value="MC-38113"/> |
17 | 18 | <severity value="MAJOR"/>
|
18 |
| - <group value="Sales"/> |
| 19 | + <group value="sales"/> |
19 | 20 | </annotations>
|
20 | 21 | <before>
|
21 |
| - <createData entity="ApiCategory" stepKey="Category"/> |
22 |
| - <createData entity="ApiSimpleProduct" stepKey="Product"> |
23 |
| - <requiredEntity createDataKey="Category"/> |
| 22 | + <createData entity="ApiCategory" stepKey="category"/> |
| 23 | + <createData entity="ApiSimpleProduct" stepKey="product"> |
| 24 | + <requiredEntity createDataKey="category"/> |
24 | 25 | </createData>
|
25 |
| - <createData entity="Simple_Customer_Without_Address" stepKey="Customer"/> |
| 26 | + <createData entity="Simple_Customer_Without_Address" stepKey="customer"/> |
26 | 27 | <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
|
27 | 28 | <actionGroup ref="LoginToStorefrontActionGroup" stepKey="loginToStorefrontAccount">
|
28 |
| - <argument name="Customer" value="$Customer$"/> |
| 29 | + <argument name="Customer" value="$customer$"/> |
29 | 30 | </actionGroup>
|
30 | 31 | </before>
|
31 | 32 | <after>
|
| 33 | + <deleteData createDataKey="product" stepKey="deleteProduct"/> |
| 34 | + <deleteData createDataKey="category" stepKey="deleteCategory"/> |
32 | 35 | <actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="customerLogout"/>
|
| 36 | + <deleteData createDataKey="customer" stepKey="deleteCustomer"/> |
33 | 37 | <actionGroup ref="AdminLogoutActionGroup" stepKey="adminLogout"/>
|
34 |
| - <deleteData createDataKey="Product" stepKey="deleteProduct"/> |
35 |
| - <deleteData createDataKey="Category" stepKey="deleteCategory"/> |
36 |
| - <deleteData createDataKey="Customer" stepKey="deleteCustomer"/> |
37 | 38 | </after>
|
38 | 39 |
|
39 | 40 | <!-- Create order for registered customer -->
|
40 | 41 | <actionGroup ref="AddSimpleProductToCartActionGroup" stepKey="addSimpleProductToOrder">
|
41 |
| - <argument name="product" value="$Product$"/> |
| 42 | + <argument name="product" value="$product$"/> |
42 | 43 | </actionGroup>
|
43 | 44 | <actionGroup ref="GoToCheckoutFromMinicartActionGroup" stepKey="openCheckoutPage"/>
|
44 | 45 | <actionGroup ref="LoggedInUserCheckoutFillingShippingSectionActionGroup" stepKey="fillAddressForm"/>
|
|
47 | 48 |
|
48 | 49 | <!-- Reorder created order -->
|
49 | 50 | <actionGroup ref="OpenOrderByIdActionGroup" stepKey="openOrderById">
|
50 |
| - <argument name="orderId" value="$grabOrderNumber"/> |
| 51 | + <argument name="orderId" value="{$grabOrderNumber}"/> |
51 | 52 | </actionGroup>
|
52 |
| - <actionGroup ref="AdminReorderActionGroup" stepKey="reorder"/> |
| 53 | + <actionGroup ref="AdminStartReorderFromOrderPageActionGroup" stepKey="startReorder"/> |
| 54 | + <actionGroup ref="AdminSubmitOrderActionGroup" stepKey="submitOrder"/> |
53 | 55 |
|
54 | 56 | <!-- Assert no additional addresses saved -->
|
55 |
| - <actionGroup ref="AssertStoreFrontCustomerHasNoOtherAddressesActionGroup" stepKey="assertAddresses"/> |
| 57 | + <actionGroup ref="AssertStorefrontCustomerHasNoOtherAddressesActionGroup" stepKey="assertAddresses"/> |
56 | 58 | </test>
|
57 | 59 | </tests>
|
0 commit comments