|
10 | 10 | <test name="StoreFrontAddProductsToWishListWithMultipleWishlistsEnabledTest"> |
11 | 11 | <annotations> |
12 | 12 | <stories value="Wishlist"/> |
13 | | - <title value="Add products from the wishlist to the cart using the sidebar."/> |
14 | | - <description value="Products added to the cart from wishlist and a customer remains on the same page."/> |
| 13 | + <title value="Add products to wishlist from Category page with multiple wishlist enabled"/> |
| 14 | + <description value="Registered customer should be able to add products from category page to wishlist when multiple wishlist enabled"/> |
15 | 15 | <severity value="MAJOR"/> |
16 | | - <testCaseId value="MAGETWO-94021"/> |
| 16 | + <testCaseId value="MAGETWO-94422"/> |
17 | 17 | <group value="wishlist"/> |
18 | 18 | </annotations> |
19 | 19 | <before> |
|
22 | 22 | <createData entity="SimpleProduct" stepKey="simpleProduct1"> |
23 | 23 | <requiredEntity createDataKey="categoryFirst"/> |
24 | 24 | </createData> |
25 | | - <!--<createData entity="SimpleProduct" stepKey="simpleProduct2">--> |
26 | | - <!--<requiredEntity createDataKey="categoryFirst"/>--> |
27 | | - <!--</createData>--> |
28 | | - |
29 | 25 | <createData entity="Simple_US_Customer" stepKey="customer"/> |
30 | 26 | </before> |
31 | 27 | <after> |
|
41 | 37 | <comment userInput="Enable multiple wishlist" stepKey="enableMultipleWishlist"/> |
42 | 38 | <actionGroup ref="EnableCustomerMultipleWishlistOption" stepKey="enableCustomerWishlist"/> |
43 | 39 | <actionGroup ref="ClearCacheActionGroup" stepKey="clearCache"/> |
44 | | - |
45 | | - <!--<amOnPage url="admin/admin/auth/logout/" stepKey="logout"/>--> |
46 | | - <!-- Sign in as customer --> |
47 | 40 | <actionGroup ref="LoginToStorefrontActionGroup" stepKey="loginToStorefrontAccount"> |
48 | 41 | <argument name="Customer" value="$$customer$$"/> |
49 | 42 | </actionGroup> |
|
52 | 45 | <actionGroup ref="StorefrontCheckCategorySimpleProduct" stepKey="browseAssertCategoryProduct1"> |
53 | 46 | <argument name="product" value="$$simpleProduct1$$"/> |
54 | 47 | </actionGroup> |
55 | | - <!--<actionGroup ref="StorefrontCustomerAddCategoryProductToWishlistActionGroup2" stepKey="addSimpleProduct1ToWishlist">--> |
56 | | - <!--<argument name="productVar" value="$$simpleProduct1$$"/>--> |
57 | | - <!--</actionGroup>--> |
58 | | - |
59 | 48 | <!-- Add product from first category to the wishlist after shifting--> |
60 | | - <actionGroup ref="StorefrontCustomerAddCategoryProductToWishlistActionGroup3" stepKey="addSimpleProduct1ToWishlist"> |
| 49 | + <actionGroup ref="StorefrontCustomerAddCategoryProductToWishlistActionGroup2" stepKey="addSimpleProduct1ToWishlist"> |
61 | 50 | <argument name="productVar" value="$$simpleProduct1$$"/> |
62 | 51 | </actionGroup> |
63 | 52 | </test> |
|
0 commit comments