Skip to content

Commit 3530749

Browse files
author
OlgaVasyltsun
committed
MC-35891: Automate MC-28963 tests
1 parent 5ffb6a6 commit 3530749

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

app/code/Magento/Catalog/Test/Mftf/Data/ProductData.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@
285285
<requiredEntity type="custom_attribute">CustomAttributeProductAttribute</requiredEntity>
286286
</entity>
287287
<entity name="ApiSimpleProductWithCategory" type="product2" extends="ApiSimpleOne">
288-
<requiredEntity type="custom_attribute">CustomAttributeProductAttribute</requiredEntity>
289288
<requiredEntity type="custom_attribute">CustomAttributeCategoryIds</requiredEntity>
290289
</entity>
291290
<entity name="ApiSimpleProductWithShortSKU" type="product2" extends="ApiSimpleOne">

app/code/Magento/LayeredNavigation/Test/Mftf/Data/ConfigData.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@
1616
<data key="path">catalog/layered_navigation/price_range_calculation</data>
1717
<data key="value">auto</data>
1818
</entity>
19-
2019
</entities>

app/code/Magento/LayeredNavigation/Test/Mftf/Test/StorefrontAllAttributeOptionsAreShownInLayeredNavigationTest.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,19 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
1111
<test name="StorefrontAllAttributeOptionsAreShownInLayeredNavigationTest">
1212
<annotations>
13-
<features value="Layered Navigation"/>
13+
<features value="LayeredNavigation"/>
1414
<stories value="Product attributes in Layered Navigation"/>
1515
<title value="Limitation of displayed attribute options number in layered navigation with ElasticSearch"/>
1616
<description value="All attribute options are shown in Layered navigation"/>
1717
<severity value="CRITICAL"/>
1818
<testCaseId value="MC-28963"/>
19-
<group value="LayeredNavigation"/>
19+
<group value="layeredNavigation"/>
20+
<group value="catalog"/>
2021
<group value="SearchEngineElasticsearch"/>
2122
</annotations>
2223

2324
<before>
25+
<magentoCron groups="index" stepKey="reindexInvalidatedIndices"/>
2426
<magentoCLI command="config:set {{DisplayProductCountDefaultValue.path}} {{DisplayProductCountDefaultValue.value}}" stepKey="enableDisplayProductCount"/>
2527
<magentoCLI command="config:set {{PriceNavigationStepCalculationDefaultValue.path}} {{PriceNavigationStepCalculationDefaultValue.value}}" stepKey="setPriceNavigationStepCalculationDefaultValue"/>
2628
<createData entity="ApiCategory" stepKey="createCategory"/>
@@ -72,7 +74,7 @@
7274
<createData entity="productAttributeOption" stepKey="createConfigProductAttributeOption15">
7375
<requiredEntity createDataKey="createConfigProductAttribute"/>
7476
</createData>
75-
<!--Cet Created options data-->
77+
<!--Get Created options data-->
7678
<getData entity="ProductAttributeOptionGetter" index="1" stepKey="getConfigAttributeOption1">
7779
<requiredEntity createDataKey="createConfigProductAttribute"/>
7880
</getData>
@@ -309,9 +311,7 @@
309311
<deleteData createDataKey="createConfigChildProduct14" stepKey="deleteConfigChildProduct14"/>
310312
<deleteData createDataKey="createConfigChildProduct15" stepKey="deleteConfigChildProduct15"/>
311313
<deleteData createDataKey="createConfigProductAttribute" stepKey="deleteAttribute"/>
312-
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindex">
313-
<argument name="indices" value="catalogsearch_fulltext"/>
314-
</actionGroup>
314+
<magentoCron groups="index" stepKey="reindexInvalidatedIndices"/>
315315
</after>
316316

317317
<actionGroup ref="StorefrontNavigateCategoryPageActionGroup" stepKey="openCategory">

0 commit comments

Comments
 (0)