AdminEditUserSection.xml 1.8 KB

123456789101112131415161718192021222324252627282930
  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="AdminEditUserSection">
  11. <element name="system" type="input" selector="#menu-magento-backend-system"/>
  12. <element name="allUsers" type="input" selector="//span[contains(text(), 'All Users')]"/>
  13. <element name="create" type="input" selector="#add"/>
  14. <element name="usernameTextField" type="input" selector="#user_username"/>
  15. <element name="firstNameTextField" type="input" selector="#user_firstname"/>
  16. <element name="lastNameTextField" type="input" selector="#user_lastname"/>
  17. <element name="emailTextField" type="input" selector="#user_email"/>
  18. <element name="passwordTextField" type="input" selector="#user_password"/>
  19. <element name="pwConfirmationTextField" type="input" selector="#user_confirmation"/>
  20. <element name="currentPasswordField" type="input" selector="#user_current_password"/>
  21. <element name="userRoleTab" type="button" selector="#page_tabs_roles_section"/>
  22. <element name="roleNameFilterTextField" type="input" selector="#permissionsUserRolesGrid_filter_role_name"/>
  23. <element name="searchButton" type="button" selector=".admin__data-grid-header button[title=Search]"/>
  24. <element name="resetButton" type="button" selector="button[title='Reset Filter']"/>
  25. <element name="roleNameInFirstRow" type="text" selector=".col-role_name"/>
  26. <element name="searchResultFirstRow" type="text" selector=".data-grid>tbody>tr"/>
  27. <element name="saveButton" type="button" selector="#save"/>
  28. </section>
  29. </sections>