File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
app/code/Magento/Customer/Test/Mftf Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 15
15
</arguments >
16
16
17
17
<amOnPage url =" {{AdminCustomerPage.url}}" stepKey =" goToCustomerPage01" />
18
- <waitForPageLoad stepKey =" waitForPageLoad01" />
19
18
20
19
<!-- Start of Action Group: searchAdminDataGridByKeyword -->
21
20
<conditionalClick selector =" {{AdminDataGridHeaderSection.clearFilters}}" dependentSelector =" {{AdminDataGridHeaderSection.clearFilters}}" visible =" true" stepKey =" clickClearFilters0" />
27
26
<click selector =" {{AdminGridRow.editByValue(emailAddress)}}" stepKey =" clickOnCustomer01" />
28
27
<waitForPageLoad stepKey =" waitForPageLoad03" />
29
28
30
- <conditionalClick selector =" #tab_customer " dependentSelector =" #tab_customer " visible =" true" stepKey =" clickOnAccountInformation01" />
29
+ <conditionalClick selector =" {{AdminCustomerAccountInformationSection.accountInformationTab}} " dependentSelector =" {{AdminCustomerAccountInformationSection.accountInformationTab}} " visible =" true" stepKey =" clickOnAccountInformation01" />
31
30
<waitForPageLoad stepKey =" waitForPageLoad04" />
32
31
33
- <click selector =" .admin__control-select[name='customer[group_id]'] " stepKey =" clickOnCustomerGroup01" />
34
- <selectOption selector =" .admin__control-select[name='customer[group_id]'] " userInput =" {{customerGroup}}" stepKey =" selectCustomerGroup01" />
32
+ <click selector =" {{AdminCustomerAccountInformationSection.group}} " stepKey =" clickOnCustomerGroup01" />
33
+ <selectOption selector =" {{AdminCustomerAccountInformationSection.group}} " userInput =" {{customerGroup}}" stepKey =" selectCustomerGroup01" />
35
34
36
- <click selector =" # save" stepKey =" clickOnSave01" />
35
+ <click selector =" {{AdminMainActionsSection. save}} " stepKey =" clickOnSave01" />
37
36
<waitForPageLoad stepKey =" waitForPageLoad05" />
38
37
</actionGroup >
39
38
</actionGroups >
Original file line number Diff line number Diff line change 9
9
<sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
11
11
<section name =" AdminCustomerAccountInformationSection" >
12
+ <element name =" accountInformationTab" type =" button" selector =" #tab_customer" />
12
13
<element name =" statusInactive" type =" button" selector =" .admin__actions-switch-label" />
13
14
<element name =" accountInformationTitle" type =" text" selector =" .admin__page-nav-title" />
14
15
<element name =" accountInformationButton" type =" text" selector =" //a/span[text()='Account Information']" />
You can’t perform that action at this time.
0 commit comments