You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
1.8 KiB

  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. <sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
  10. <section name="StorefrontCheckoutShippingNewAddressModalSection">
  11. <element name="firstName" type="input" selector="//div[@id='shipping-new-address-form']//input[@name='firstname']"/>
  12. <element name="lastName" type="input" selector="//div[@id='shipping-new-address-form']//input[@name='lastname']"/>
  13. <element name="company" type="input" selector="//div[@id='shipping-new-address-form']//input[@name='company']"/>
  14. <element name="street" type="input" parameterized="true" selector="//div[@id='shipping-new-address-form']//input[@name='street[{{index}}]']"/>
  15. <element name="city" type="input" selector="//div[@id='shipping-new-address-form']//input[@name='city']"/>
  16. <element name="region" type="select" selector="//div[@id='shipping-new-address-form']//select[@name='region_id']"/>
  17. <element name="postcode" type="input" selector="//div[@id='shipping-new-address-form']//input[@name='postcode']"/>
  18. <element name="country" type="select" selector="//div[@id='shipping-new-address-form']//select[@name='country_id']"/>
  19. <element name="telephone" type="input" selector="//div[@id='shipping-new-address-form']//input[@name='telephone']"/>
  20. <element name="saveAddress" type="button" selector="//div[@id='shipping-new-address-form']//button[contains(@class, 'action-save-address')]"/>
  21. <element name="cancelChangeAddress" type="button" selector="//div[@id='shipping-new-address-form']//button[contains(@class, 'action-hide-popup')]"/>
  22. </section>
  23. </sections>