Skip to content

Commit c43ce69

Browse files
author
Joan He
committed
MC-19451: Adapt functional tests to Elasticsearch
1 parent 66cbf4c commit c43ce69

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
@@ -27,6 +27,10 @@
2727
<deleteData createDataKey="createProduct" stepKey="deleteProduct"/>
2828
</after>
2929

30+
<!-- Perform reindex and flush cache -->
31+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
32+
<magentoCLI command="cache:flush" stepKey="flushCache"/>
33+
3034
<!-- 1. Navigate to Frontend -->
3135
<actionGroup ref="StorefrontOpenHomePageActionGroup" stepKey="goToStorefront"/>
3236

0 commit comments

Comments
 (0)