Skip to content

Commit bab6ce8

Browse files
ACQE-8339: [ATLH] Categories EE. Initial list of tests which do not delete categories
- Added category cleanup code
1 parent b9f5d6f commit bab6ce8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontCheckPriceForFixedBundleProductWithCatalogRuleTest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147
<deleteData createDataKey="createFixedBundleProduct" stepKey="deleteBundleProduct"/>
148148
<actionGroup ref="AdminCatalogPriceRuleDeleteAllActionGroup" stepKey="deleteCatalogPriceRules"/>
149149
<!-- logout admin -->
150+
<deleteData createDataKey="category1" stepKey="deletecategory1"/>
150151
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
151152
</after>
152153
<!-- check product prices on category and product page -->

app/code/Magento/Catalog/Test/Mftf/Test/StorefrontVerifyBundleAndDownloadableProductPageLayoutTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<after>
6363
<!-- Delete created data -->
6464
<actionGroup ref="RemoveDownloadableDomainActionGroup" stepKey="removeDownloadableDomain"/>
65-
<createData entity="SimpleSubCategory" stepKey="deleteCreateCategory"/>
65+
<deleteData createDataKey="createCategory" stepKey="deletecreateCategory"/>
6666
<deleteData createDataKey="createCustomerViaTheStorefront" stepKey="deleteCustomerViaTheStorefront"/>
6767
<deleteData createDataKey="bundleProduct" stepKey="deleteBundleProduct"/>
6868
<deleteData createDataKey="downloadableProduct" stepKey="deleteDownloadableProduct"/>

0 commit comments

Comments
 (0)