|
9 | 9 | <sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
10 | 10 | xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
|
11 | 11 | <section name="AdminCreateUserSection">
|
| 12 | + <element name="system" type="input" selector="#menu-magento-backend-system"/> |
| 13 | + <element name="allUsers" type="input" selector="//span[contains(text(), 'All Users')]"/> |
| 14 | + <element name="create" type="input" selector="#add"/> |
| 15 | + <element name="usernameTextField" type="input" selector="#user_username"/> |
| 16 | + <element name="firstNameTextField" type="input" selector="#user_firstname"/> |
| 17 | + <element name="lastNameTextField" type="input" selector="#user_lastname"/> |
| 18 | + <element name="emailTextField" type="input" selector="#user_email"/> |
| 19 | + <element name="passwordTextField" type="input" selector="#user_password"/> |
| 20 | + <element name="pwConfirmationTextField" type="input" selector="#user_confirmation"/> |
| 21 | + <element name="currentPasswordField" type="input" selector="#user_current_password"/> |
| 22 | + <element name="expireAtField" type="input" selector="#user_expires_at"/> |
| 23 | + <element name="createdRoleInUserPage" type="text" selector="//tr//td[contains(text(), '{{arg}}')]" parameterized="true"/> |
| 24 | + <element name="userInfoTab" type="button" selector="#page_tabs_main_section"/> |
| 25 | + <element name="userRoleTab" type="button" selector="#page_tabs_roles_section"/> |
| 26 | + <element name="saveButton" type="button" selector="#save"/> |
12 | 27 | <element name="createAnAccountButton" type="button" selector="//div[contains(@class, 'block-new-customer')]//a/span[contains(.,'Create an Account')]"/>
|
13 | 28 | <element name="createAnAccountButtonForCustomer" type="button" selector="//*[@class='block-content']//a[@class='action create primary']/span[contains(.,'Create an Account')]"/>
|
14 | 29 | </section>
|
|
0 commit comments