File tree Expand file tree Collapse file tree 5 files changed +7
-6
lines changed
app/code/Magento/Customer/Test/Mftf Expand file tree Collapse file tree 5 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 8
8
9
9
<actionGroups xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Test/etc/actionGroupSchema.xsd" >
11
- <actionGroup name =" NavigateToAllCustomerPage" >
11
+ <actionGroup name =" NavigateToAllCustomerPage" deprecated = " Use AdminOpenCustomersGridActionGroup instead. " >
12
12
<annotations >
13
13
<description >Goes to the Admin Customers grid page.</description >
14
14
</annotations >
Original file line number Diff line number Diff line change 29
29
<!-- Delete created data-->
30
30
<deleteData createDataKey =" createCustomer" stepKey =" deleteCustomer" />
31
31
<deleteData createDataKey =" createCustomerGroup" stepKey =" deleteCustomerGroup" />
32
- <actionGroup ref =" NavigateToAllCustomerPage " stepKey =" navigateToCustomersPage" />
32
+ <actionGroup ref =" AdminOpenCustomersGridActionGroup " stepKey =" navigateToCustomersPage" />
33
33
<actionGroup ref =" ClearFiltersAdminDataGridActionGroup" stepKey =" clearCustomersGridFilter" />
34
34
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logoutFromAdmin" />
35
35
</after >
36
36
37
- <actionGroup ref =" NavigateToAllCustomerPage " stepKey =" navigateToCustomersPage" />
37
+ <actionGroup ref =" AdminOpenCustomersGridActionGroup " stepKey =" navigateToCustomersPage" />
38
38
<actionGroup ref =" AdminFilterCustomerGridByEmail" stepKey =" filterCustomer" >
39
39
<argument name =" email" value =" $$createCustomer.email$$" />
40
40
</actionGroup >
Original file line number Diff line number Diff line change 29
29
</after >
30
30
31
31
<actionGroup ref =" AdminLoginActionGroup" stepKey =" loginAsAdmin1" />
32
- <actionGroup ref =" AdminOpenCustomersGridActionGroup" stepKey =" navigateToCustomers" />
32
+ <amOnPage url =" {{AdminCustomerPage.url}}" stepKey =" navigateToCustomers" />
33
+ <waitForPageLoad stepKey =" waitForLoad1" />
33
34
<click selector =" {{AdminCustomerGridMainActionsSection.addNewCustomer}}" stepKey =" clickCreateCustomer" />
34
35
<fillField userInput =" {{CustomerEntityOne.firstname}}" selector =" {{AdminCustomerAccountInformationSection.firstName}}" stepKey =" fillFirstName" />
35
36
<fillField userInput =" {{CustomerEntityOne.lastname}}" selector =" {{AdminCustomerAccountInformationSection.lastName}}" stepKey =" fillLastName" />
Original file line number Diff line number Diff line change 29
29
<deleteData createDataKey =" secondCustomer" stepKey =" deleteSecondCustomer" />
30
30
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
31
31
</after >
32
- <amOnPage url = " {{AdminCustomerPage.url}} " stepKey =" openCustomerPage" />
32
+ <actionGroup ref = " AdminOpenCustomersGridActionGroup " stepKey =" openCustomerPage" />
33
33
<!-- search Admin Data Grid By Keyword -->
34
34
<conditionalClick selector =" {{AdminDataGridHeaderSection.clearFilters}}" dependentSelector =" {{AdminDataGridHeaderSection.clearFilters}}" visible =" true" stepKey =" clickClearFilters" />
35
35
<fillField selector =" {{AdminDataGridHeaderSection.search}}" userInput =" $$secondCustomer.email$$" stepKey =" fillKeywordSearchFieldWithSecondCustomerEmail" />
Original file line number Diff line number Diff line change 30
30
<deleteData createDataKey =" thirdCustomer" stepKey =" deleteThirdCustomer" />
31
31
<actionGroup ref =" AdminLogoutActionGroup" stepKey =" logout" />
32
32
</after >
33
- <amOnPage url = " {{AdminCustomerPage.url}} " stepKey =" openCustomerPage" />
33
+ <actionGroup ref = " AdminOpenCustomersGridActionGroup " stepKey =" openCustomerPage" />
34
34
<!-- Select all from dropdown -->
35
35
<actionGroup ref =" AdminGridSelectAllActionGroup" stepKey =" selectAllCustomers" />
36
36
<!-- Deselect third customer -->
You can’t perform that action at this time.
0 commit comments