Skip to content

Commit 187b8c6

Browse files
committed
MQE-2045: Upgrade script to remove unused arguments
updated action groups to remove unused arguments
1 parent 68e5a7b commit 187b8c6

File tree

26 files changed

+10
-52
lines changed

26 files changed

+10
-52
lines changed

app/code/Magento/Backend/Test/Mftf/ActionGroup/AdminFilterLegacyGridActionGroup.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="AdminFilterLegacyGridActionGroup">
1212
<arguments>
13-
<argument name="fieldSelector" type="string"/>
1413
<argument name="value" type="string"/>
1514
<argument name="button" type="string" defaultValue="{{AdminLegacyDataGridFilterSection.apply}}"/>
1615
</arguments>

app/code/Magento/Braintree/Test/Mftf/ActionGroup/AdminCreateNewRoleActionGroup.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
</annotations>
1515
<arguments>
1616
<argument name="role" type="string" defaultValue=""/>
17-
<argument name="resource" type="string" defaultValue="All"/>
18-
<argument name="scope" type="string" defaultValue="Custom"/>
19-
<argument name="websites" type="string" defaultValue="Main Website"/>
2017
</arguments>
2118

2219
<click selector="{{AdminCreateRoleSection.create}}" stepKey="clickToAddNewRole"/>

app/code/Magento/Braintree/Test/Mftf/ActionGroup/AdminDeleteRoleActionGroup.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
<annotations>
1313
<description>Deletes a User Role that contains the text 'Role'. PLEASE NOTE: The Action Group values are Hardcoded.</description>
1414
</annotations>
15-
<arguments>
16-
<argument name="role" defaultValue=""/>
17-
</arguments>
1815

1916
<click stepKey="clickOnRole" selector="{{AdminDeleteRoleSection.theRole}}"/>
2017
<fillField stepKey="TypeCurrentPassword" selector="{{AdminDeleteRoleSection.current_pass}}" userInput="{{_ENV.MAGENTO_ADMIN_PASSWORD}}"/>

app/code/Magento/Bundle/Test/Mftf/ActionGroup/AdminOrderBundleProductActionGroup.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="AdminOrderConfigureBundleProduct">
1212
<arguments>
13-
<argument name="productName" type="string" defaultValue="{{SimpleProduct.sku}}"/>
1413
<argument name="productNumber" type="string" defaultValue="1"/>
1514
<argument name="productQty" type="string" defaultValue="1"/>
1615
</arguments>

app/code/Magento/Bundle/Test/Mftf/ActionGroup/ViewBundleProductInAdminGridActionGroup.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
</annotations>
1515
<arguments>
1616
<argument name="product" defaultValue="BundleProduct"/>
17-
<argument name="thumbnail" defaultValue="ProductPlaceholderImage"/>
1817
</arguments>
1918

2019
<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="visitAdminProductPage"/>

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
</annotations>
1616
<arguments>
1717
<argument name="firstStoreViewName" type="string"/>
18-
<argument name="secondStoreViewName" type="string"/>
1918
</arguments>
2019

2120
<click selector="{{AdminProductFormNewAttributeSection.addValue}}" stepKey="addValue" after="selectAttributeType"/>

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<arguments>
1616
<argument name="category"/>
1717
<argument name="simpleProduct"/>
18-
<argument name="charLimit"/>
1918
</arguments>
2019

2120
<amOnPage url="{{AdminProductIndexPage.url}}" stepKey="navigateToProductIndex"/>

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
1111
<actionGroup name="AdminSwitchScopeForProductAttributeActionGroup">
12-
<arguments>
13-
<argument name="scope" type="string" defaultValue="1"/>
14-
</arguments>
1512
<click selector="{{AttributePropertiesSection.AdvancedProperties}}" stepKey="expandAdvancedProperties"/>
1613
<waitForElementVisible selector="{{AttributePropertiesSection.Scope}}" stepKey="waitOpenAdvancedProperties"/>
1714
<selectOption selector="{{AttributePropertiesSection.Scope}}" userInput="1" stepKey="selectNecessaryScope"/>

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
<annotations>
1313
<description>Requires navigation to the Category creation/edit page. Click on the Upload button. Validates that the Image exists.</description>
1414
</annotations>
15-
<arguments>
16-
<argument name="image" defaultValue="ProductImage"/>
17-
</arguments>
1815

1916
<conditionalClick selector="{{AdminCategoryContentSection.sectionHeader}}" dependentSelector="{{AdminCategoryContentSection.uploadButton}}" visible="false" stepKey="openContentSection"/>
2017
<waitForPageLoad stepKey="waitForPageLoad"/>

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
</annotations>
1515
<arguments>
1616
<argument name="itemType"/>
17-
<argument name="itemName"/>
1817
</arguments>
1918

2019
<conditionalClick selector="{{StorefrontCategorySidebarSection.filterOptionsTitle('itemType')}}" dependentSelector="{{StorefrontCategorySidebarSection.filterOptions}}" visible="false" stepKey="expandFilterOptions"/>

0 commit comments

Comments
 (0)