Skip to content

Commit 1afc9a4

Browse files
ACQE-8274: [ATLH] Categories. Initial list of tests which do not delete categories
- Moved category deletion code to execute before reindex
1 parent d3f04bd commit 1afc9a4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdminConfigurableProductUpdateTest/AdminConfigurableProductDisableAnOptionTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@
7070
<deleteData createDataKey="createConfigChildProduct2" stepKey="deleteConfigChildProduct2"/>
7171
<deleteData createDataKey="createConfigProduct" stepKey="deleteConfigProduct"/>
7272
<deleteData createDataKey="createConfigProductAttribute" stepKey="deleteConfigProductAttribute"/>
73+
<deleteData createDataKey="createCategory" stepKey="deletecreateCategory"/>
7374

7475
<!-- Reindex invalidated indices after product attribute has been created/deleted -->
7576
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindexInvalidatedIndices">
7677
<argument name="indices" value=""/>
7778
</actionGroup>
78-
<deleteData createDataKey="createCategory" stepKey="deletecreateCategory"/>
7979
</after>
8080

8181
<!--check storefront for both options-->

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdvanceCatalogSearchConfigurableTest/AdvanceCatalogSearchConfigurableByShortDescriptionTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,12 @@
8383
<deleteData createDataKey="childProductHandle1" stepKey="deleteChildProduct1" before="delete"/>
8484
<deleteData createDataKey="childProductHandle2" stepKey="deleteChildProduct2" before="delete"/>
8585
<deleteData createDataKey="productAttributeHandle" stepKey="deleteProductDropDownAttribute"/>
86+
<deleteData createDataKey="categoryHandle" stepKey="deletecategoryHandle"/>
8687

8788
<!-- Reindex invalidated indices after product attribute has been created/deleted -->
8889
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindexInvalidatedIndices">
8990
<argument name="indices" value=""/>
9091
</actionGroup>
91-
<deleteData createDataKey="categoryHandle" stepKey="deletecategoryHandle"/>
9292
</after>
9393
</test>
9494
</tests>

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/StorefrontAdvanceCatalogSearchConfigurableBySkuWithHyphenTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@
8484
<deleteData createDataKey="childProductHandle1" stepKey="deleteChildProduct1" before="delete"/>
8585
<deleteData createDataKey="childProductHandle2" stepKey="deleteChildProduct2" before="delete"/>
8686
<deleteData createDataKey="productAttributeHandle" stepKey="deleteProductDropDownAttribute"/>
87+
<deleteData createDataKey="categoryHandle" stepKey="deletecategoryHandle"/>
8788

8889
<!-- Reindex invalidated indices after product attribute has been created/deleted -->
8990
<actionGroup ref="CliIndexerReindexActionGroup" stepKey="reindexInvalidatedIndices">
9091
<argument name="indices" value=""/>
9192
</actionGroup>
92-
<deleteData createDataKey="categoryHandle" stepKey="deletecategoryHandle"/>
9393
</after>
9494
</test>
9595
</tests>

0 commit comments

Comments
 (0)