Skip to content

Commit 56009fc

Browse files
authored
Merge pull request #5267 from magento-performance/MC-20077-4
[performance] MC-20077, MC-20078: Fix Skipped MFTF Tests From MC-17140
2 parents dbbfb52 + 6ebb6f2 commit 56009fc

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,15 @@
9292
<click selector="{{AdminProductSEOSection.sectionHeader}}" stepKey="clickAdminProductSEOSection1"/>
9393
<seeInField selector="{{AdminProductSEOSection.urlKeyInput}}" userInput="{{virtualProductBigQty.urlKey}}" stepKey="seeUrlKey"/>
9494

95+
<!--Run full reindex and clear caches -->
96+
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
97+
<magentoCLI command="cache:flush" stepKey="flushCache"/>
98+
9599
<!--Verify customer see created virtual product on category page -->
96100
<amOnPage url="{{StorefrontCategoryPage.url($$categoryEntity.name$$)}}" stepKey="openCategoryPage"/>
97101
<waitForPageLoad stepKey="waitForCategoryPageToLoad"/>
98102
<see selector="{{StorefrontCategoryMainSection.productLink}}" userInput="{{virtualProductBigQty.name}}" stepKey="seeVirtualProductNameOnCategoryPage"/>
99103

100-
<!--Run full reindex and clear caches -->
101-
<magentoCLI command="indexer:reindex" stepKey="reindex"/>
102-
<magentoCLI command="cache:flush" stepKey="flushCache"/>
103-
104104
<!-- Verify customer see created virtual product with tier price(from above step) on storefront page and is searchable by sku -->
105105
<amOnPage url="{{StorefrontHomePage.url}}" stepKey="goToStorefront"/>
106106
<waitForPageLoad stepKey="waitForStoreFrontProductPageLoad"/>

app/code/Magento/CatalogRule/Test/Mftf/Section/AdminCatalogPriceRuleStagingSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@
1111
<section name="AdminCatalogPriceRuleStagingSection">
1212
<element name="status" type="select" selector=".modal-component [data-index='is_active'] select"/>
1313
<element name="isActive" type="select" selector=".modals-wrapper input[name='is_active']+label"/>
14+
<element name="activeIsEnabled" type="checkbox" selector=".modals-wrapper input[name='is_active'][value='1']+label"/>
1415
</section>
1516
</sections>

app/code/Magento/Indexer/Test/Mftf/Section/AdminIndexManagementSection.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<element name="massActionSubmit" type="button" selector="#gridIndexer_massaction-form button"/>
1616
<element name="indexerSelect" type="select" selector="//select[contains(@class,'action-select-multiselect')]"/>
1717
<element name="indexerStatus" type="text" selector="//tr[descendant::td[contains(., '{{status}}')]]//*[contains(@class, 'col-indexer_status')]/span" parameterized="true"/>
18-
<element name="successMessage" type="text" selector="//*[@data-ui-id='messages-message-success']"/>
18+
<element name="successMessage" type="text" selector="//*[@data-ui-id='messages-message-success']" timeout="120"/>
1919
<element name="selectMassAction" type="select" selector="#gridIndexer_massaction-mass-select"/>
2020
</section>
2121
</sections>

app/code/Magento/Sales/Test/Mftf/Test/AdminReorderWithCatalogPriceTest.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@
1818
<useCaseId value="MAGETWO-99691"/>
1919
<group value="sales"/>
2020
<group value="catalogRule"/>
21-
<skip>
22-
<issueId value="MC-17140"/>
23-
</skip>
2421
</annotations>
2522
<before>
2623
<!--Create the catalog price rule -->

0 commit comments

Comments
 (0)