Skip to content

Commit 7b93b53

Browse files
committed
depricaded action group
1 parent 670d3a0 commit 7b93b53

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

app/code/Magento/Customer/Test/Mftf/ActionGroup/NavigateCustomerActionGroup.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<actionGroups xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/actionGroupSchema.xsd">
11-
<actionGroup name="NavigateToAllCustomerPage">
11+
<actionGroup name="NavigateToAllCustomerPage" deprecated="Use AdminOpenCustomersGridActionGroup instead.">
1212
<annotations>
1313
<description>Goes to the Admin Customers grid page.</description>
1414
</annotations>

app/code/Magento/Customer/Test/Mftf/Test/AdminChangeSingleCustomerGroupViaGridTest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
<!--Delete created data-->
3030
<deleteData createDataKey="createCustomer" stepKey="deleteCustomer"/>
3131
<deleteData createDataKey="createCustomerGroup" stepKey="deleteCustomerGroup"/>
32-
<actionGroup ref="NavigateToAllCustomerPage" stepKey="navigateToCustomersPage"/>
32+
<actionGroup ref="AdminOpenCustomersGridActionGroup" stepKey="navigateToCustomersPage"/>
3333
<actionGroup ref="ClearFiltersAdminDataGridActionGroup" stepKey="clearCustomersGridFilter"/>
3434
<actionGroup ref="AdminLogoutActionGroup" stepKey="logoutFromAdmin"/>
3535
</after>
3636

37-
<actionGroup ref="NavigateToAllCustomerPage" stepKey="navigateToCustomersPage"/>
37+
<actionGroup ref="AdminOpenCustomersGridActionGroup" stepKey="navigateToCustomersPage"/>
3838
<actionGroup ref="AdminFilterCustomerGridByEmail" stepKey="filterCustomer">
3939
<argument name="email" value="$$createCustomer.email$$"/>
4040
</actionGroup>

app/code/Magento/Customer/Test/Mftf/Test/AdminCreateCustomerTest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
</after>
3030

3131
<actionGroup ref="AdminLoginActionGroup" stepKey="loginAsAdmin1"/>
32-
<actionGroup ref="AdminOpenCustomersGridActionGroup" stepKey="navigateToCustomers"/>
32+
<amOnPage url="{{AdminCustomerPage.url}}" stepKey="navigateToCustomers"/>
33+
<waitForPageLoad stepKey="waitForLoad1"/>
3334
<click selector="{{AdminCustomerGridMainActionsSection.addNewCustomer}}" stepKey="clickCreateCustomer"/>
3435
<fillField userInput="{{CustomerEntityOne.firstname}}" selector="{{AdminCustomerAccountInformationSection.firstName}}" stepKey="fillFirstName"/>
3536
<fillField userInput="{{CustomerEntityOne.lastname}}" selector="{{AdminCustomerAccountInformationSection.lastName}}" stepKey="fillLastName"/>

app/code/Magento/Customer/Test/Mftf/Test/AdminGridSearchSelectAllTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<deleteData createDataKey="secondCustomer" stepKey="deleteSecondCustomer"/>
3030
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
3131
</after>
32-
<amOnPage url="{{AdminCustomerPage.url}}" stepKey="openCustomerPage"/>
32+
<actionGroup ref="AdminOpenCustomersGridActionGroup" stepKey="openCustomerPage"/>
3333
<!-- search Admin Data Grid By Keyword -->
3434
<conditionalClick selector="{{AdminDataGridHeaderSection.clearFilters}}" dependentSelector="{{AdminDataGridHeaderSection.clearFilters}}" visible="true" stepKey="clickClearFilters"/>
3535
<fillField selector="{{AdminDataGridHeaderSection.search}}" userInput="$$secondCustomer.email$$" stepKey="fillKeywordSearchFieldWithSecondCustomerEmail"/>

app/code/Magento/Customer/Test/Mftf/Test/AdminGridSelectAllOnPageTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<deleteData createDataKey="thirdCustomer" stepKey="deleteThirdCustomer"/>
3131
<actionGroup ref="AdminLogoutActionGroup" stepKey="logout"/>
3232
</after>
33-
<amOnPage url="{{AdminCustomerPage.url}}" stepKey="openCustomerPage"/>
33+
<actionGroup ref="AdminOpenCustomersGridActionGroup" stepKey="openCustomerPage"/>
3434
<!-- Select all from dropdown -->
3535
<actionGroup ref="AdminGridSelectAllActionGroup" stepKey="selectAllCustomers"/>
3636
<!-- Deselect third customer -->

0 commit comments

Comments
 (0)