|
17 | 17 | <severity value="MAJOR"/>
|
18 | 18 | <testCaseId value="MC-17906"/>
|
19 | 19 | <useCaseId value="MC-15759"/>
|
20 |
| - <group value="search"/> |
| 20 | + <group value="elasticsearch"/> |
21 | 21 | </annotations>
|
22 | 22 | <before>
|
23 | 23 | <actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
|
24 | 24 | <!--Create category-->
|
25 | 25 | <createData entity="SimpleSubCategory" stepKey="createCategory"/>
|
26 |
| - <!--Enable Elasticsearch--> |
27 |
| - <magentoCLI command="config:set {{EnableElasticSearch6Config.path}} {{EnableElasticSearch6Config.value}}" stepKey="enableElasticsearch6"/> |
28 | 26 | <!--Set Minimal Query Length-->
|
29 | 27 | <magentoCLI command="config:set {{SetMinQueryLength2Config.path}} {{SetMinQueryLength2Config.value}}" stepKey="setMinQueryLength"/>
|
30 | 28 | <!--Reindex indexes and clear cache-->
|
|
34 | 32 | <after>
|
35 | 33 | <!--Set configs to default-->
|
36 | 34 | <magentoCLI command="config:set {{SetMinQueryLength3Config.path}} {{SetMinQueryLength3Config.value}}" stepKey="setMinQueryLengthPreviousState"/>
|
37 |
| - <magentoCLI command="config:set {{SetDefaultSearchEngineConfig.path}} {{SetDefaultSearchEngineConfig.value}}" stepKey="resetSearchEnginePreviousState"/> |
38 | 35 | <!--Delete created data-->
|
39 | 36 | <deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
|
40 | 37 | <actionGroup ref="deleteProductAttributeByAttributeCode" stepKey="deleteProductAttribute">
|
|
78 | 75 | </actionGroup>
|
79 | 76 | <fillField selector="{{AdminProductFormSection.attributeRequiredInput(textProductAttribute.attribute_code)}}" userInput="searchable" stepKey="fillTheAttributeRequiredInputField"/>
|
80 | 77 | <click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickSaveButton"/>
|
| 78 | + <!-- TODO: REMOVE AFTER FIX MC-21717 --> |
| 79 | + <magentoCLI command="indexer:reindex" stepKey="reindex"/> |
| 80 | + <magentoCLI command="cache:flush eav" stepKey="flushCache"/> |
81 | 81 | <!--Assert search results on storefront-->
|
82 | 82 | <amOnPage url="{{StorefrontHomePage.url}}" stepKey="goToStorefrontPage"/>
|
83 | 83 | <waitForPageLoad stepKey="waitForStorefrontPageLoad"/>
|
|
0 commit comments