Skip to content

Commit 9d990b2

Browse files
committed
MC-22004: Flaky test MC-6192: Checking results of filters: color and other filters
1 parent 300e27a commit 9d990b2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/code/Magento/ConfigurableProduct/Test/Mftf/Test/AdminCheckResultsOfColorAndOtherFiltersTest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,5 +186,8 @@
186186
<click selector="{{AdminGridMainControls.save}}" stepKey="clickToSaveProduct"/>
187187
<waitForPageLoad stepKey="waitForNewSimpleProductPage"/>
188188
<seeElement selector="{{AdminProductMessagesSection.successMessage}}" stepKey="seeSaveProductMessageThird"/>
189+
<!--TODO: REMOVE AFTER FIX MC-21717 -->
190+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
191+
<magentoCLI command="cache:flush full_page" stepKey="flushCache"/>
189192
</test>
190193
</tests>

app/code/Magento/LayeredNavigation/Test/Mftf/Test/AdminCheckResultsOfColorAndOtherFiltersTest.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@
88
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
1010
<test name="AdminCheckResultsOfColorAndOtherFiltersTest">
11-
<magentoCLI command="cache:flush eav" stepKey="flushCache"/>
12-
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
1311
<!-- Open a category on storefront -->
14-
<actionGroup ref="StorefrontGoToCategoryPageActionGroup" after="seeSaveProductMessageThird" stepKey="goToCategoryPage">
12+
<actionGroup ref="StorefrontGoToCategoryPageActionGroup" after="flushCache" stepKey="goToCategoryPage">
1513
<argument name="categoryName" value="$$createCategory.name$$"/>
1614
</actionGroup>
1715
<!-- Choose First attribute filter -->

dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/Import/ProductTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2637,7 +2637,6 @@ public function testProductBaseImageAfterImport()
26372637
$this->assertNotEquals('/no/exists/image/magento_image.jpg', $productAfterImport->getData('image'));
26382638
}
26392639

2640-
26412640
/**
26422641
* Set the current admin session user based on a username
26432642
*

0 commit comments

Comments
 (0)