|
17 | 17 | <group value="mtf_migrated"/> |
18 | 18 | </annotations> |
19 | 19 | <before> |
| 20 | + <!-- Disable search suggestions --> |
| 21 | + <magentoCLI command="config:set {{DisableSearchSuggestions.path}} {{DisableSearchSuggestions.value}}" stepKey="DisableSearchSuggestions"/> |
20 | 22 | <!-- Login as admin --> |
21 | 23 | <actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin"/> |
22 | 24 | <!--Create Simple Product --> |
|
25 | 27 | <argument name="indices" value=""/> |
26 | 28 | </actionGroup> |
27 | 29 | <comment userInput="Adding the comment to replace CliCacheFlushActionGroup action group ('cache:flush' command) for preserving Backward Compatibility" stepKey="flushCache"/> |
28 | | - <!-- Disable search suggestions --> |
29 | | - <magentoCLI command="config:set {{DisableSearchSuggestions.path}} {{DisableSearchSuggestions.value}}" stepKey="DisableSearchSuggestions"/> |
30 | | - <!-- Clean config cache --> |
31 | | - <actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanConfigCacheAfterDisablingSuggestions"> |
32 | | - <argument name="tags" value="config"/> |
33 | | - </actionGroup> |
34 | 30 | </before> |
35 | 31 | <after> |
| 32 | + <!-- Re-enable search suggestions --> |
| 33 | + <magentoCLI command="config:set {{EnableSearchSuggestions.path}} {{EnableSearchSuggestions.value}}" stepKey="EnableSearchSuggestions"/> |
36 | 34 | <!-- Delete create product --> |
37 | 35 | <deleteData createDataKey="simpleProduct" stepKey="deleteProduct"/> |
38 | 36 | <!-- Go to the catalog search term page --> |
|
48 | 46 | <!-- Delete created below search terms --> |
49 | 47 | <actionGroup ref="AdminDeleteSearchTermActionGroup" stepKey="deleteSearchTerms"/> |
50 | 48 | <actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/> |
51 | | - <!-- Re-enable search suggestions --> |
52 | | - <magentoCLI command="config:set {{EnableSearchSuggestions.path}} {{EnableSearchSuggestions.value}}" stepKey="EnableSearchSuggestions"/> |
53 | | - <!-- Clean config cache --> |
54 | | - <actionGroup ref="CliCacheCleanActionGroup" stepKey="cleanConfigCacheAfterEnablingSuggestions"> |
55 | | - <argument name="tags" value="config"/> |
56 | | - </actionGroup> |
57 | 49 | </after> |
58 | 50 | <!-- Go to storefront home page --> |
59 | 51 | <actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="openStoreFrontHomePage"/> |
|
0 commit comments