Skip to content

Commit fcb3231

Browse files
committed
MQE-1993:Refactor MFTF tests/actionGroups using <executeInSelenium>
Deprecation warnings for 2.4
1 parent 199cc48 commit fcb3231

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

app/code/Magento/Catalog/Test/Mftf/ActionGroup/AdminCategoryActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@
445445
<click selector="{{AdminCategoryContentSection.productTableRow}}" stepKey="selectProductFromTableRow"/>
446446
</actionGroup>
447447

448-
<actionGroup name="DeleteDefaultCategoryChildren">
448+
<actionGroup name="DeleteDefaultCategoryChildren" deprecated="Use deleteData action for categories created via api. StorefrontCatalogNavigationMenuUIDesktopTest will be refactored in 2.4 to reflect this change.">
449449
<annotations>
450450
<description>Deletes all children categories of Default Root Category.</description>
451451
</annotations>

app/code/Magento/Catalog/Test/Mftf/ActionGroup/CustomOptionsActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
<assertEquals expected="{{option.title}}" expectedType="string" actual="$grabOptionSku" stepKey="assertOptionSku"/>
130130
</actionGroup>
131131
<!-- Assumes we are on product edit page -->
132-
<actionGroup name="AdminDeleteAllProductCustomOptions">
132+
<actionGroup name="AdminDeleteAllProductCustomOptions" deprecated="Use AdminDeleteProductCustomOption for each custom option created instead.">
133133
<conditionalClick selector="{{AdminProductCustomizableOptionsSection.customizableOptions}}" dependentSelector="{{AdminProductCustomizableOptionsSection.checkIfCustomizableOptionsTabOpen}}" visible="true" stepKey="expandContentTab"/>
134134
<waitForPageLoad time="10" stepKey="waitCustomizableOptionsTabOpened"/>
135135
<executeInSelenium function="function($webdriver) use ($I) {

app/code/Magento/CatalogImportExport/Test/Mftf/ActionGroup/AdminExportActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
<see selector="{{AdminDataGridTableSection.dataGridEmpty}}" userInput="We couldn't find any records." stepKey="assertDataGridEmptyMessage"/>
7979
</actionGroup>
8080

81-
<actionGroup name="deleteAllExportedFiles">
81+
<actionGroup name="deleteAllExportedFiles" deprecated="Use DeleteExportedFileActionGroup on each exported file instead."/>
8282
<amOnPage url="{{AdminExportIndexPage.url}}" stepKey="goToExportIndexPage"/>
8383
<executeInSelenium
8484
function="

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
-->
88
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
10-
<actionGroup name="AdminCatalogPriceRuleDeleteAllActionGroup">
10+
<actionGroup name="AdminCatalogPriceRuleDeleteAllActionGroup" deprecated="Use RemoveCatalogPriceRule for each created rule instead.">
1111
<annotations>
1212
<description>Open Catalog Price Rule grid and delete all rules one by one. Need to avoid interference with other tests that test catalog price rules.</description>
1313
</annotations>

app/code/Magento/Store/Test/Mftf/ActionGroup/AdminDeleteStoreViewActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
<click selector="{{AdminDataGridHeaderSection.applyFilters}}" stepKey="clickSearchButton"/>
8989
</actionGroup>
9090

91-
<actionGroup name="AdminDeleteStoreViewIfExistsActionGroup" extends="AdminSearchStoreViewByNameActionGroup">
91+
<actionGroup name="AdminDeleteStoreViewIfExistsActionGroup" extends="AdminSearchStoreViewByNameActionGroup" deprecated="Use AdminDeleteStoreViewActionGroup instead.">
9292
<annotations>
9393
<description>EXTENDS: AdminSearchStoreViewByNameActionGroup. Goes to the Admin Stores grid page. Deletes the provided Store (if exists) without creating a Backup. Validates that the Success Message is present and correct.</description>
9494
</annotations>

0 commit comments

Comments
 (0)