Skip to content

Commit d353304

Browse files
MAGETWO-95798: All country state's are shown for USA when shipping form has custom address attributes.
1 parent 10f8312 commit d353304

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/code/Magento/Checkout/Test/Mftf/Section/CheckoutShippingSection.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@
3232
<element name="firstShippingMethod" type="radio" selector="//*[@id='checkout-shipping-method-load']//input[@class='radio']"/>
3333
<element name="defaultShipping" type="button" selector=".billing-address-details"/>
3434
<element name="stateInput" type="input" selector="input[name=region]"/>
35+
<element name="regionOptions" type="select" selector="select[name=region_id] option"/>
3536
</section>
3637
</sections>

app/code/Magento/Customer/Test/Mftf/Data/AddressData.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<data key="vat_id">vatData</data>
3333
<data key="default_shipping">true</data>
3434
<data key="default_billing">true</data>
35+
<data key="region_qty">66</data>
3536
</entity>
3637
<entity name="US_Address_TX" type="address">
3738
<data key="firstname">John</data>

0 commit comments

Comments
 (0)