Skip to content

Commit fd3e813

Browse files
committed
Moved bulk action group to Ui module to use in any admin grid
1 parent 24f9954 commit fd3e813

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

app/code/Magento/Checkout/Test/Mftf/Test/CheckCheckoutSuccessPageTest.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@
3939
<argument name="filterValue" value="$$createSimpleUsCustomer.email$$"/>
4040
</actionGroup>
4141
<actionGroup ref="AdminGridFilterApplyActionGroup" stepKey="applyFilters"/>
42-
<actionGroup ref="AdminOrderBulkActionOnGridActionGroup" stepKey="cancelOrders"/>
42+
<actionGroup ref="AdminGridBulkActionGroup" stepKey="cancelOrders">
43+
<argument name="actionLabel" value="Cancel"/>
44+
</actionGroup>
4345
<actionGroup ref="AdminLogoutActionGroup" stepKey="adminLogout"/>
4446

4547
<!--Logout from customer account-->
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@
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="AdminOrderBulkActionOnGridActionGroup">
10+
<actionGroup name="AdminGridBulkActionGroup">
1111
<annotations>
1212
<description>
13-
Massive action for all rows on Admin Order Grid page.
13+
Massive action for all rows on Admin Grid page.
1414
</description>
1515
</annotations>
1616
<arguments>
17-
<argument name="actionLabel" type="string" defaultValue="Cancel"/>
17+
<argument name="actionLabel" type="string"/>
1818
</arguments>
1919

2020
<click selector="{{AdminGridSelectRows.multicheckDropdown}}" stepKey="openMulticheckDropdown"/>
21-
<click selector="{{AdminGridSelectRows.multicheckOption('Select All')}}" stepKey="selectAllOrders"/>
21+
<click selector="{{AdminGridSelectRows.multicheckOption('Select All')}}" stepKey="selectAllRows"/>
2222
<click selector="{{AdminGridSelectRows.bulkActionDropdown}}" stepKey="clickActionDropdown"/>
2323
<click selector="{{AdminGridSelectRows.bulkActionOption(actionLabel)}}" stepKey="clickActionLabel"/>
2424
<waitForElementVisible selector="{{AdminMessagesSection.success}}" stepKey="waitForSuccessMessage"/>

0 commit comments

Comments
 (0)