File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
app/code/Magento/Customer/Test/Mftf Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 72
72
<fillField stepKey =" fillZip" selector =" {{StorefrontCustomerAddressSection.zip}}" userInput =" {{Address.postcode}}" />
73
73
<click stepKey =" saveAddress" selector =" {{StorefrontCustomerAddressSection.saveAddress}}" />
74
74
</actionGroup >
75
+ <!-- Fills State Field instead of selecting it-->
76
+ <actionGroup name =" EnterCustomerAddressInfoFillState" extends =" EnterCustomerAddressInfo" >
77
+ <fillField stepKey =" selectState" selector =" {{StorefrontCustomerAddressSection.stateProvinceFill}}" userInput =" {{Address.state}}" />
78
+ </actionGroup >
79
+
75
80
<actionGroup name =" VerifyCustomerBillingAddress" >
76
81
<arguments >
77
82
<argument name =" address" />
Original file line number Diff line number Diff line change 10
10
xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
11
11
<section name =" StorefrontCustomerDashboardAccountInformationSection" >
12
12
<element name =" ContactInformation" type =" textarea" selector =" .box.box-information .box-content" />
13
- <element name =" edit" type =" link " selector =" .action.edit" timeout =" 15" />
14
- <element name =" changePassword" type =" link " selector =" .action.change-password" timeout =" 15" />
13
+ <element name =" edit" type =" block " selector =" .action.edit" timeout =" 15" />
14
+ <element name =" changePassword" type =" block " selector =" .action.change-password" timeout =" 15" />
15
15
</section >
16
16
<section name =" StorefrontCustomerAddressSection" >
17
17
<element name =" firstName" type =" input" selector =" #firstname" />
22
22
<element name =" streetAddress2" type =" input" selector =" #street_2" />
23
23
<element name =" city" type =" input" selector =" #city" />
24
24
<element name =" stateProvince" type =" select" selector =" #region_id" />
25
+ <element name =" stateProvinceFill" type =" input" selector =" #region" />
25
26
<element name =" zip" type =" input" selector =" #zip" />
26
27
<element name =" country" type =" select" selector =" #country" />
27
28
<element name =" saveAddress" type =" button" selector =" [data-action='save-address']" timeout =" 30" />
Original file line number Diff line number Diff line change 72
72
</actionGroup >
73
73
74
74
<!-- Go to My account > Address book-->
75
- <actionGroup ref =" EnterCustomerAddressInfo " stepKey =" enterAddressInfo" >
75
+ <actionGroup ref =" EnterCustomerAddressInfoFillState " stepKey =" enterAddressInfo" >
76
76
<argument name =" Address" value =" UK_Simple_Address" />
77
77
</actionGroup >
78
78
You can’t perform that action at this time.
0 commit comments