|
16 | 16 | <testCaseId value="AC-5003"/>
|
17 | 17 | <group value="mtf_migrated"/>
|
18 | 18 | </annotations>
|
19 |
| - |
20 | 19 | <before>
|
21 | 20 | <!-- Login as admin -->
|
22 | 21 | <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/>
|
23 |
| - |
24 | 22 | <!--Create Simple Product -->
|
25 | 23 | <createData entity="defaultSimpleProduct" stepKey="simpleProduct"/>
|
26 |
| - |
27 | 24 | <magentoCron groups="index" stepKey="reindex"/>
|
28 | 25 | <comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/>
|
29 | 26 | </before>
|
30 | 27 | <after>
|
31 | 28 | <!-- Delete create product -->
|
32 | 29 | <deleteData createDataKey="simpleProduct" stepKey="deleteProduct"/>
|
33 |
| - |
34 | 30 | <!-- Go to the catalog search term page -->
|
35 | 31 | <actionGroup ref="AdminOpenCatalogSearchTermIndexPageActionGroup" stepKey="openAdminCatalogSearchTermIndexPage"/>
|
36 |
| - |
37 | 32 | <!--Filter the search term -->
|
38 | 33 | <actionGroup ref="AdminSearchTermFilterBySearchQueryActionGroup" stepKey="filterByThirdSearchQuery">
|
39 | 34 | <argument name="searchQuery" value="$$simpleProduct.name$$"/>
|
|
46 | 41 | <actionGroup ref="AdminDeleteSearchTermActionGroup" stepKey="deleteSearchTerms"/>
|
47 | 42 | <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
|
48 | 43 | </after>
|
49 |
| - |
50 | 44 | <!-- Go to storefront home page -->
|
51 | 45 | <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="openStoreFrontHomePage"/>
|
52 |
| - |
53 | 46 | <!--Storefront quick search by product name -->
|
54 | 47 | <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="quickSearchByProductName">
|
55 | 48 | <argument name="phrase" value="$$simpleProduct.name$$"/>
|
56 | 49 | </actionGroup>
|
57 |
| - |
58 | 50 | <!--Verify search suggestions and select the suggestion from dropdown options -->
|
59 | 51 | <actionGroup ref="StoreFrontSelectDropDownSearchSuggestionActionGroup" stepKey="seeDropDownSearchSuggestion">
|
60 | 52 | <argument name="searchQuery" value="$$simpleProduct.name$$"/>
|
61 | 53 | </actionGroup>
|
62 |
| - |
63 | 54 | <!-- Assert Product storefront main page -->
|
64 | 55 | <actionGroup ref="StorefrontAssertProductNameOnProductMainPageActionGroup" stepKey="seeProductName">
|
65 | 56 | <argument name="productName" value="$$simpleProduct.name$$"/>
|
|
68 | 59 | <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="quickSearchByProductNameSku">
|
69 | 60 | <argument name="phrase" value="$$simpleProduct.sku$$"/>
|
70 | 61 | </actionGroup>
|
71 |
| - |
72 | 62 | <!--Verify search suggestions and select the suggestion from dropdown options -->
|
73 | 63 | <actionGroup ref="StoreFrontSelectDropDownSearchSuggestionActionGroup" stepKey="seeDropDownSearchSuggestionSku">
|
74 | 64 | <argument name="searchQuery" value="$$simpleProduct.sku$$"/>
|
|
0 commit comments