|
16 | 16 | <description value="Admin should be able to configure items from customer wishlist"/>
|
17 | 17 | <severity value="MAJOR"/>
|
18 | 18 | <testCaseId value="MC-40455"/>
|
19 |
| - <useCaseId value="MC-36575"/> |
| 19 | + <useCaseId value="MC-37418"/> |
20 | 20 | <group value="wishlist"/>
|
21 | 21 | </annotations>
|
22 | 22 | <before>
|
|
68 | 68 | </createData>
|
69 | 69 | <createData entity="Simple_US_Customer" stepKey="createCustomer"/>
|
70 | 70 | <magentoCron groups="index" stepKey="reindexBrokenIndices"/>
|
| 71 | + <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> |
71 | 72 | </before>
|
72 | 73 | <after>
|
73 | 74 | <deleteData createDataKey="createConfigProduct" stepKey="deleteConfigProduct"/>
|
|
83 | 84 | <actionGroup ref="LoginToStorefrontActionGroup" stepKey="loginToStorefrontAccount">
|
84 | 85 | <argument name="Customer" value="$createCustomer$"/>
|
85 | 86 | </actionGroup>
|
86 |
| - <amOnPage url="{{StorefrontProductPage.url($createConfigProduct.custom_attributes[url_key]$)}}" stepKey="goToProductPage"/> |
| 87 | + <actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="openProductPage"> |
| 88 | + <argument name="productUrl" value="$createConfigProduct.custom_attributes[url_key]$"/> |
| 89 | + </actionGroup> |
87 | 90 | <actionGroup ref="StorefrontCustomerAddProductToWishlistActionGroup" stepKey="addToWishlistProduct">
|
88 | 91 | <argument name="productVar" value="$createConfigProduct$"/>
|
89 | 92 | </actionGroup>
|
90 |
| - <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> |
91 | 93 | <actionGroup ref="OpenEditCustomerFromAdminActionGroup" stepKey="navigateToCustomerEditPage">
|
92 | 94 | <argument name="customer" value="$createCustomer$"/>
|
93 | 95 | </actionGroup>
|
94 | 96 | <actionGroup ref="AdminNavigateCustomerWishlistTabActionGroup" stepKey="navigateToWishlistTab"/>
|
95 |
| - <actionGroup ref="AdminCustomerFindWishlistItemActionGroup" stepKey="findWishlistItem"> |
96 |
| - <argument name="productName" value="$createConfigProduct.name$"/> |
97 |
| - </actionGroup> |
98 | 97 | <actionGroup ref="AdminCustomerWishlistConfigureItemActionGroup" stepKey="editItem">
|
99 | 98 | <argument name="title" value="$createConfigProductAttribute.attribute[frontend_labels][0][label]$"/>
|
100 | 99 | <argument name="option" value="$getConfigAttributeOption1.label$"/>
|
101 | 100 | <argument name="quantity" value="2"/>
|
| 101 | + <argument name="productName" value="$createConfigProduct.name$"/> |
102 | 102 | </actionGroup>
|
103 | 103 | <click selector="{{AdminMainActionsSection.save}}" stepKey="saveCustomer"/>
|
104 | 104 | <waitForElementVisible selector="{{AdminMessagesSection.success}}" stepKey="waitForSuccessMessage"/>
|
|
0 commit comments