Skip to content

Commit 854a02a

Browse files
ACQE-8274: [ATLH] Categories. Initial list of tests which do not delete categories
- Reverted the incorrect cleanup code
1 parent e12dfb4 commit 854a02a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,15 @@
5959
</actionGroup>
6060
<actionGroup ref="SaveProductFormActionGroup" stepKey="saveProduct"/>
6161
</before>
62-
<after>SimpleSubCategory<deleteData createDataKey="createCategory" stepKey="deletecreateCategory"/>
63-
<deleteData createDataKey="deleteCreateCategory" stepKey="deletedeleteCreateCategory"/>
62+
<after>
63+
<!-- Delete created data -->
64+
<actionGroup ref="RemoveDownloadableDomainActionGroup" stepKey="removeDownloadableDomain"/>
65+
<createData entity="SimpleSubCategory" stepKey="deleteCreateCategory"/>
66+
<deleteData createDataKey="createCustomerViaTheStorefront" stepKey="deleteCustomerViaTheStorefront"/>
67+
<deleteData createDataKey="bundleProduct" stepKey="deleteBundleProduct"/>
68+
<deleteData createDataKey="downloadableProduct" stepKey="deleteDownloadableProduct"/>
69+
<!-- Log out -->
70+
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
6471
</after>
6572
<!-- Pre-condition 1: Login to the storefront as customer -->
6673
<actionGroup ref="LoginToStorefrontActionGroup" stepKey="loginAsCustomer">

0 commit comments

Comments
 (0)