Skip to content

Commit c98388a

Browse files
committed
MQE-1993: Refactor MFTF tests/actionGroups using <executeInSelenium>
Test stabilization
1 parent 78117a4 commit c98388a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

app/code/Magento/CatalogImportExport/Test/Mftf/Test/AdminExportImportConfigurableProductWithImagesTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@
134134
<magentoCLI stepKey="removeDownloadableDomain" command="downloadable:domains:remove example.com static.magento.com"/>
135135

136136
<!-- Delete created data -->
137-
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
138137
<deleteData createDataKey="createFirstSimpleProduct" stepKey="deleteFisrtSimpleProduct"/>
139138
<deleteData createDataKey="createSecondSimpleProduct" stepKey="deleteSecondSimpleProduct"/>
140139
<deleteData createDataKey="createDownloadableProduct" stepKey="deleteDownloadableProduct"/>
@@ -147,6 +146,7 @@
147146
<deleteData createDataKey="createConfigurableProduct" stepKey="deleteConfigurableProduct"/>
148147
<deleteData createDataKey="createConfigChildProduct" stepKey="deleteConfigChildProduct"/>
149148
<deleteData createDataKey="createConfigProductAttr" stepKey="deleteConfigProductAttr"/>
149+
<deleteData createDataKey="createCategory" stepKey="deleteCategory"/>
150150
<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="navigateToProductIndex"/>
151151
<actionGroup ref="ResetProductGridToDefaultViewActionGroup" stepKey="resetProductGridColumnsInitial"/>
152152
<!-- Admin logout-->

app/code/Magento/CatalogRule/Test/Mftf/ActionGroup/AdminCatalogPriceRuleSaveAndApplyActionGroup.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
</annotations>
1414

1515
<scrollToTopOfPage stepKey="scrollToTop"/>
16+
<waitForElementVisible selector="{{AdminNewCatalogPriceRule.saveAndApply}}" stepKey="waitForSaveAndApplyButton"/>
1617
<click selector="{{AdminNewCatalogPriceRule.saveAndApply}}" stepKey="saveAndApplyRule"/>
1718
<waitForElementVisible selector="{{AdminMessagesSection.success}}" stepKey="waitForSuccessMessageAppears"/>
1819
<see selector="{{AdminMessagesSection.success}}" userInput="You saved the rule." stepKey="checkSuccessSaveMessage"/>

0 commit comments

Comments
 (0)