|
19 | 19 | </annotations> |
20 | 20 |
|
21 | 21 | <before> |
22 | | - <!-- Login as admin --> |
23 | | - <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> |
24 | | - |
25 | 22 | <!-- Create Simple Product --> |
26 | 23 | <createData entity="defaultSimpleProduct" stepKey="simpleProduct"/> |
27 | 24 |
|
| 25 | + <!-- Login as admin --> |
| 26 | + <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> |
| 27 | + |
28 | 28 | <!-- Perform reindex and flush cache --> |
29 | 29 | <actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex"> |
30 | 30 | <argument name="indices" value=""/> |
|
42 | 42 |
|
43 | 43 | <!-- Filter the search term --> |
44 | 44 | <actionGroup ref="AdminSearchTermFilterBySearchQueryActionGroup" stepKey="filterByThirdSearchQuery"> |
45 | | - <argument name="searchQuery" value="$$simpleProduct.name$$"/> |
| 45 | + <argument name="searchQuery" value="$simpleProduct.name$"/> |
46 | 46 | </actionGroup> |
47 | 47 | <!-- Delete created below search terms --> |
48 | 48 | <actionGroup ref="AdminDeleteSearchTermActionGroup" stepKey="deleteSearchTerms"/> |
49 | | - <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/> |
50 | 49 | </after> |
51 | 50 |
|
52 | 51 | <!-- Go to storefront home page --> |
53 | 52 | <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="openStoreFrontHomePage"/> |
54 | 53 |
|
55 | 54 | <!-- Storefront quick search by product name --> |
56 | 55 | <actionGroup ref="StorefrontCheckQuickSearchStringActionGroup" stepKey="quickSearchByProductName"> |
57 | | - <argument name="phrase" value="$$simpleProduct.name$$"/> |
| 56 | + <argument name="phrase" value="$simpleProduct.name$"/> |
58 | 57 | </actionGroup> |
59 | 58 |
|
60 | 59 | <!-- Verify search suggestions and select the suggestion from dropdown options --> |
61 | 60 | <actionGroup ref="StoreFrontAssertDropDownSearchSuggestionActionGroup" stepKey="seeDropDownSearchSuggestion"> |
62 | | - <argument name="searchQuery" value="$$simpleProduct.name$$"/> |
| 61 | + <argument name="searchQuery" value="$simpleProduct.name$"/> |
63 | 62 | </actionGroup> |
64 | 63 | </test> |
65 | 64 | </tests> |
0 commit comments