File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
app/code/Magento/Customer/Test/Mftf Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 39
39
<click selector =" {{AdminEditCustomerAddressesSection.defaultBillingAddressButton}}" stepKey =" setDefaultBilling" before =" setDefaultShipping" />
40
40
<click selector =" {{AdminEditCustomerAddressesSection.defaultShippingAddressButton}}" stepKey =" setDefaultShipping" before =" fillPrefixName" />
41
41
</actionGroup >
42
+ <actionGroup name =" SelectDropdownCustomerAddressAttributeValueActionGroup" >
43
+ <arguments >
44
+ <argument name =" customerAddressAttribute" />
45
+ <argument name =" optionValue" type =" string" />
46
+ </arguments >
47
+ <selectOption selector =" {{AdminEditCustomerAddressesSection.dropDownAttribute(customerAddressAttribute.code)}}" userInput =" {{optionValue}}" stepKey =" selectOptionValue" />
48
+ <click selector =" {{AdminEditCustomerAddressesSection.save}}" stepKey =" saveAddress" />
49
+ <waitForPageLoad stepKey =" waitForAddressSaved" />
50
+ </actionGroup >
42
51
</actionGroups >
Original file line number Diff line number Diff line change 216
216
<data key =" store_id" >0</data >
217
217
<data key =" website_id" >0</data >
218
218
</entity >
219
+ <entity name =" Simple_US_Customer_Two_Addresses" type =" customer" >
220
+ <data key =" group_id" >0</data >
221
+ <data key =" default_billing" >true</data >
222
+ <data key =" default_shipping" >true</data >
223
+ <data key =" email" unique =" prefix" >John.Doe@example.com</data >
224
+ <data key =" firstname" >John</data >
225
+ <data key =" lastname" >Doe</data >
226
+ <data key =" fullname" >John Doe</data >
227
+ <data key =" password" >pwdTest123!</data >
228
+ <data key =" store_id" >0</data >
229
+ <data key =" website_id" >0</data >
230
+ <requiredEntity type =" address" >US_Address_TX</requiredEntity >
231
+ <requiredEntity type =" address" >US_Address_NY_Not_Default_Address</requiredEntity >
232
+ </entity >
219
233
</entities >
Original file line number Diff line number Diff line change 25
25
<element name =" city" type =" text" selector =" //*[@class='modal-component']//input[@name='city']" />
26
26
<element name =" country" type =" select" selector =" //*[@class='modal-component']//select[@name='country_id']" />
27
27
<element name =" state" type =" select" selector =" //*[@class='modal-component']//select[@name='region_id']" />
28
+ <element name =" dropDownAttribute" type =" select" selector =" //select[@name='{{var1}}']" parameterized =" true" />
28
29
<element name =" zipCode" type =" text" selector =" //*[@class='modal-component']//input[@name='postcode']" />
29
30
<element name =" phone" type =" text" selector =" //*[@class='modal-component']//input[@name='telephone']" />
30
31
<element name =" vat" type =" text" selector =" input[name='vat_id']" />
You can’t perform that action at this time.
0 commit comments