AdminCustomerAccountInformationSection.xml 1.8 KB

123456789101112131415161718192021222324252627
  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="AdminCustomerAccountInformationSection">
  11. <element name="accountInformationTab" type="button" selector="#tab_customer"/>
  12. <element name="statusInactive" type="button" selector=".admin__actions-switch-label"/>
  13. <element name="accountInformationTitle" type="text" selector=".admin__page-nav-title"/>
  14. <element name="accountInformationButton" type="text" selector="//a/span[text()='Account Information']"/>
  15. <element name="addressesButton" type="select" selector="//a//span[contains(text(), 'Addresses')]"/>
  16. <element name="firstName" type="input" selector="input[name='customer[firstname]']"/>
  17. <element name="lastName" type="input" selector="input[name='customer[lastname]']"/>
  18. <element name="email" type="input" selector="input[name='customer[email]']"/>
  19. <element name="group" type="select" selector="[name='customer[group_id]']"/>
  20. <element name="groupValue" type="button" selector="//span[text()='{{groupValue}}']" parameterized="true"/>
  21. <element name="associateToWebsite" type="select" selector="//select[@name='customer[website_id]']"/>
  22. <element name="saveCustomer" type="button" selector="//button[@title='Save Customer']"/>
  23. <element name="saveCustomerAndContinueEdit" type="button" selector="//button[@title='Save and Continue Edit']"/>
  24. <element name="storeView" type="select" selector="//select[@name='customer[sendemail_store_id]']"/>
  25. </section>
  26. </sections>