|
8 | 8 |
|
9 | 9 | <tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
10 | 10 | xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
|
11 |
| - <test name="StorefrontAddSimpleProductWithCustomizableOptionsToWishlistTest"> |
| 11 | + <test name="StorefrontAddSimpleProductWithCustomizableFileOptionToWishlistTest"> |
12 | 12 | <annotations>
|
13 | 13 | <stories value="Wishlist"/>
|
14 |
| - <title value="Add simple product with customizable options to wishlist"/> |
15 |
| - <description value="Add simple Product with customizable options to Wishlist and verify customizable options are preserved"/> |
| 14 | + <title value="Add simple product with customizable file option to wishlist"/> |
| 15 | + <description value="Add simple Product with customizable file option to Wishlist and verify customizable options are preserved"/> |
16 | 16 | <severity value="CRITICAL"/>
|
| 17 | + <testCaseId value="MC-41040"/> |
17 | 18 | <useCaseId value="MC-40417"/>
|
18 | 19 | <group value="wishlist"/>
|
19 | 20 | </annotations>
|
20 | 21 | <before>
|
21 | 22 | <createData entity="Simple_US_Customer" stepKey="createCustomer"/>
|
22 |
| - <createData entity="_defaultCategory" stepKey="createCategory"/> |
23 | 23 | <createData entity="SimpleProduct2" stepKey="createProduct">
|
24 | 24 | <field key="price">100.00</field>
|
25 | 25 | </createData>
|
|
28 | 28 | </updateData>
|
29 | 29 | </before>
|
30 | 30 | <after>
|
| 31 | + <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/> |
31 | 32 | <deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
|
32 |
| - <deleteData createDataKey="createCategory" stepKey="deleteCategory"/> |
33 | 33 | <deleteData createDataKey="createProduct" stepKey="deleteProduct1"/>
|
34 |
| - <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/> |
35 | 34 | </after>
|
36 | 35 |
|
37 | 36 | <!-- Login as a customer -->
|
|
40 | 39 | </actionGroup>
|
41 | 40 |
|
42 | 41 | <!-- Open Product page -->
|
43 |
| - <actionGroup ref="OpenStoreFrontProductPageActionGroup" stepKey="openProductFromCategory"> |
44 |
| - <argument name="productUrlKey" value="$createProduct.custom_attributes[url_key]$"/> |
| 42 | + <actionGroup ref="StorefrontOpenProductPageActionGroup" stepKey="openProductPage"> |
| 43 | + <argument name="productUrl" value="$createProduct.custom_attributes[url_key]$"/> |
45 | 44 | </actionGroup>
|
46 | 45 | <attachFile userInput="adobe-base.jpg" selector="{{StorefrontProductInfoMainSection.addLinkFileUploadFile(ProductOptionFile.title)}}" stepKey="fillUploadFile"/>
|
47 | 46 |
|
|
0 commit comments