Skip to content

Commit 888a378

Browse files
committed
MC-22085: MFTF StorefrontAdvancedSearchByPriceToTest - MAGETWO-24729
1 parent f2eaa1d commit 888a378

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontAdvancedSearchEntitySimpleProductTest.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@
1919
<group value="mtf_migrated"/>
2020
</annotations>
2121
<before>
22+
<actionGroup ref="LoginAsAdmin" stepKey="loginAsAdmin"/>
23+
<!-- Delete all products left by prev tests because it sensitive for search-->
24+
<actionGroup ref="deleteAllProductsUsingProductGrid" stepKey="deleteAllProducts"/>
2225
<!-- Create Data -->
2326
<createData entity="ABC_dfj_SimpleProduct" stepKey="createProduct"/>
2427
</before>
2528
<after>
29+
<actionGroup ref="logout" stepKey="logoutAdmin"/>
2630
<!-- Delete data -->
2731
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
2832
</after>

0 commit comments

Comments
 (0)