|
15 | 15 | <title value="Customer should be able to share a persistent wishlist"/>
|
16 | 16 | <description value="Customer should be able to share a persistent wishlist"/>
|
17 | 17 | <severity value="AVERAGE"/>
|
18 |
| - <group value="wishlist"/> |
19 |
| - <testCaseId value="MC-13976"/> |
| 18 | + <testCaseId value="MC-27621"/> |
20 | 19 | <group value="wishlist"/>
|
21 | 20 | <group value="mtf_migrated"/>
|
22 | 21 | </annotations>
|
23 | 22 | <before>
|
24 |
| - <createData entity="SimpleSubCategory" stepKey="category"/> |
25 |
| - <createData entity="SimpleProduct" stepKey="product"> |
26 |
| - <requiredEntity createDataKey="category"/> |
| 23 | + <createData entity="SimpleSubCategory" stepKey="createCategory"/> |
| 24 | + <createData entity="SimpleProduct" stepKey="createProduct"> |
| 25 | + <requiredEntity createDataKey="createCategory"/> |
27 | 26 | </createData>
|
28 |
| - <createData entity="Simple_US_Customer" stepKey="customer"/> |
29 |
| - |
30 |
| - <!-- Perform reindex and flush cache --> |
31 |
| - <magentoCLI command="indexer:reindex" stepKey="reindex"/> |
32 |
| - <magentoCLI command="cache:flush" stepKey="flushCache"/> |
| 27 | + <createData entity="Simple_US_Customer" stepKey="createCustomer"/> |
33 | 28 | </before>
|
34 | 29 | <after>
|
35 |
| - <deleteData createDataKey="category" stepKey="deleteCategory"/> |
36 |
| - <deleteData createDataKey="product" stepKey="deleteProduct"/> |
37 |
| - <deleteData createDataKey="customer" stepKey="deleteCustomer"/> |
| 30 | + <deleteData createDataKey="createCategory" stepKey="deleteCategory"/> |
| 31 | + <deleteData createDataKey="createProduct" stepKey="deleteProduct"/> |
| 32 | + <!-- Customer logout --> |
| 33 | + <actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutCustomer"/> |
| 34 | + <deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/> |
38 | 35 | </after>
|
39 | 36 |
|
40 | 37 | <!-- Sign in as customer -->
|
41 | 38 | <actionGroup ref="LoginToStorefrontActionGroup" stepKey="loginToStorefrontAccount">
|
42 |
| - <argument name="Customer" value="$$customer$$"/> |
| 39 | + <argument name="Customer" value="$createCustomer$"/> |
43 | 40 | </actionGroup>
|
44 | 41 |
|
45 | 42 | <actionGroup ref="OpenProductFromCategoryPageActionGroup" stepKey="openProductFromCategory">
|
46 |
| - <argument name="category" value="$$category$$"/> |
47 |
| - <argument name="product" value="$$product$$"/> |
| 43 | + <argument name="category" value="$createCategory$"/> |
| 44 | + <argument name="product" value="$createProduct$"/> |
48 | 45 | </actionGroup>
|
49 | 46 |
|
50 | 47 | <actionGroup ref="StorefrontCustomerAddProductToWishlistActionGroup" stepKey="addToWishlistProduct">
|
51 |
| - <argument name="productVar" value="$$product$$"/> |
| 48 | + <argument name="productVar" value="$createProduct$"/> |
52 | 49 | </actionGroup>
|
53 | 50 |
|
54 | 51 | <actionGroup ref="StorefrontCustomerShareWishlistActionGroup" stepKey="shareWishlist"/>
|
55 |
| - |
56 |
| - <actionGroup ref="StorefrontCustomerLogoutActionGroup" stepKey="logoutCustomer"/> |
57 | 52 | </test>
|
58 | 53 | </tests>
|
0 commit comments