Skip to content

Commit 4aed747

Browse files
MC-20534: Migrate remaining failed MFTF tests to SearchEngineMysqlSuite
1 parent 2fe6639 commit 4aed747

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
<click selector="{{AdminProductFormActionSection.saveButton}}" stepKey="clickOnSaveButton"/>
6161
<waitForLoadingMaskToDisappear stepKey="waitForLoading"/>
6262
<see selector="{{AdminCategoryMessagesSection.SuccessMessage}}" userInput="You saved the product." stepKey="messageYouSavedTheProductIsShown"/>
63+
<!--Clear cache and reindex-->
64+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
65+
<magentoCLI command="cache:flush" stepKey="flushCache"/>
6366
<!--Verify product is visible in category front page -->
6467
<amOnPage url="$$createCategory.name$$.html" stepKey="openCategoryStoreFrontPage"/>
6568
<waitForPageLoad stepKey="waitForCategoryPageToLoad"/>

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@
6464
<waitForPageLoad stepKey="waitForPageTitleToBeSaved"/>
6565
<!--Verify the Category Title-->
6666
<see selector="{{AdminCategoryContentSection.categoryPageTitle}}" userInput="{{_defaultCategory.name}}" stepKey="seePageTitle" />
67+
<!--Clear cache and reindex-->
68+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
69+
<magentoCLI command="cache:flush" stepKey="flushCache"/>
6770
<!--Verify Product in store front page-->
6871
<amOnPage url="{{StorefrontCategoryPage.url(_defaultCategory.name_lwr)}}" stepKey="amOnCategoryPage"/>
6972
<waitForPageLoad stepKey="waitForPageToBeLoaded"/>

app/code/Magento/Checkout/Test/Mftf/Test/EditShippingAddressOnePageCheckoutTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
<requiredEntity createDataKey="createCategory"/>
2626
</createData>
2727
<createData entity="Simple_US_Customer_NY" stepKey="createCustomer"/>
28+
<!--Clear cache and reindex-->
29+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
30+
<magentoCLI command="cache:flush" stepKey="flushCache"/>
2831
</before>
2932
<after>
3033
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>

0 commit comments

Comments
 (0)