File tree Expand file tree Collapse file tree 2 files changed +34
-1
lines changed
app/code/Magento/Checkout/Test/Mftf Expand file tree Collapse file tree 2 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 16
16
<argument name =" address" />
17
17
</arguments >
18
18
19
- <selectOption stepKey =" selectRegion" selector =" {{CheckoutShippingSection.region}}" userInput =" {{address.state}}" after =" fillCityName" />
19
+ <selectOption stepKey =" selectRegion" selector =" {{CheckoutShippingAddressModalSection.region}}" userInput =" {{address.state}}" after =" fillCityName" />
20
+ <fillField stepKey =" fillFirstName" selector =" {{CheckoutShippingAddressModalSection.firstName}}" userInput =" {{address.firstname}}" />
21
+ <fillField stepKey =" fillLastName" selector =" {{CheckoutShippingAddressModalSection.lastName}}" userInput =" {{address.lastname}}" />
22
+ <fillField stepKey =" fillCompany" selector =" {{CheckoutShippingAddressModalSection.company}}" userInput =" {{address.company}}" />
23
+ <fillField stepKey =" fillPhoneNumber" selector =" {{CheckoutShippingAddressModalSection.telephone}}" userInput =" {{address.telephone}}" />
24
+ <fillField stepKey =" fillStreetAddress" selector =" {{CheckoutShippingAddressModalSection.street}}" userInput =" {{address.street[0]}}" />
25
+ <fillField stepKey =" fillCityName" selector =" {{CheckoutShippingAddressModalSection.city}}" userInput =" {{address.city}}" />
26
+ <selectOption stepKey =" selectCounty" selector =" {{CheckoutShippingAddressModalSection.country}}" userInput =" {{address.country_id}}" />
27
+ <fillField stepKey =" fillZip" selector =" {{CheckoutShippingAddressModalSection.postcode}}" userInput =" {{address.postcode}}" />
20
28
</actionGroup >
21
29
</actionGroups >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+
9
+ <sections xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
10
+ xsi : noNamespaceSchemaLocation =" urn:magento:mftf:Page/etc/SectionObject.xsd" >
11
+ <section name =" CheckoutShippingAddressModalSection" >
12
+ <element name =" firstName" type =" input" selector =" //div[@id='shipping-new-address-form']//input[@name='firstname']" />
13
+ <element name =" lastName" type =" input" selector =" //div[@id='shipping-new-address-form']//input[@name='lastname']" />
14
+ <element name =" company" type =" input" selector =" //div[@id='shipping-new-address-form']//input[@name='company']" />
15
+ <element name =" street" type =" input" selector =" //div[@id='shipping-new-address-form']//input[@name='street[0]']" />
16
+ <element name =" street2" type =" input" selector =" //div[@id='shipping-new-address-form']//input[@name='street[1]']" />
17
+ <element name =" city" type =" input" selector =" //div[@id='shipping-new-address-form']//input[@name='city']" />
18
+ <element name =" region" type =" select" selector =" //div[@id='shipping-new-address-form']//select[@name='region_id']" />
19
+ <element name =" postcode" type =" input" selector =" //div[@id='shipping-new-address-form']//input[@name='postcode']" />
20
+ <element name =" country" type =" select" selector =" //div[@id='shipping-new-address-form']//select[@name='country_id']" />
21
+ <element name =" telephone" type =" input" selector =" //div[@id='shipping-new-address-form']//input[@name='telephone']" />
22
+ <element name =" saveAddress" type =" button" selector =" //div[@id='shipping-new-address-form']//button[contains(@class, 'action-save-address')]" />
23
+ <element name =" cancelChangeAddress" type =" button" selector =" //div[@id='shipping-new-address-form']//button[contains(@class, 'action-hide-popup')]" />
24
+ </section >
25
+ </sections >
You can’t perform that action at this time.
0 commit comments