|
| 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="AdminInvitationSection"> |
| 11 | + <element name="addInvitation" type="button" selector=".page-actions-buttons #add"/> |
| 12 | + <element name="email" type="textarea" selector="//div[@class='admin__field-control']//textarea[@name='email']"/> |
| 13 | + <element name="message" type="textarea" selector="//div[@class='admin__field-control']//textarea[@name='message']"/> |
| 14 | + <element name="sendFrom" type="select" selector="div[data-index='store_id'] select[name='store_id']"/> |
| 15 | + <element name="inviteeGroup" type="select" selector="div[data-index='group_id'] select[name='group_id']"/> |
| 16 | + <element name="customerGroup" type="button" selector="//div[@class='admin__action-multiselect action-select']"/> |
| 17 | + <element name="defaultGeneral" type="text" selector="//*[contains(text(),'General')]" timeout="15"/> |
| 18 | + <element name="groupValue" type="button" selector="//span[text()='Default (General)']"/> |
| 19 | + <element name="saveInvitation" type="button" selector="//div[@class='page-actions-inner']//div[@class='page-actions-buttons']//button[@id='save']" timeout="30"/> |
| 20 | + <element name="successMessage" type="text" selector="//div[@class='message message-success success']/div[@data-ui-id='messages-message-success']"/> |
| 21 | + <element name="filterByEmailInput" type="input" selector="input[name='email']"/> |
| 22 | + <element name="searchButton" type="button" selector="//div[@class='admin__filter-actions']/button[@title='Search']" timeout="30"/> |
| 23 | + <element name="rowByIndex" type="text" selector="tr[data-role='row']:nth-of-type({{var1}})" parameterized="true" timeout="30"/> |
| 24 | + <element name="sendInvitation" type="button" selector="//div[@class='page-actions-buttons']/button[@id='invitation-view-send-invitation-button']" /> |
| 25 | + <element name="okButton" type="button" selector="aside.confirm .modal-footer button.action-primary" timeout="30"/> |
| 26 | + </section> |
| 27 | +</sections> |
0 commit comments