AdminManageStockFormSection.xml 2.04 KB
Newer Older
Ketan's avatar
Ketan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
<?xml version="1.0" encoding="UTF-8"?>
<!--
 /**
  * Copyright © Magento, Inc. All rights reserved.
  * See COPYING.txt for license details.
  */
-->

<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
    <section name="AdminEditStockActionsSection">
        <element name="backButton" type="button" selector="#back" timeout="30"/>
        <element name="delete" type="button" selector="#delete" timeout="30"/>
        <element name="resetButton" type="button" selector="#reset" timeout="30"/>
        <element name="saveButton" type="button" selector="#save" timeout="30"/>
    </section>
    <section name="AdminEditStockActionModalSection">
        <element name="cancel" type="button" selector=".modal-popup.confirm button.action-dismiss"/>
        <element name="ok" type="button" selector=".modal-popup.confirm button.action-accept" timeout="60"/>
    </section>
    <section name="AdminEditStockGeneralSection">
        <element name="name" type="input" selector=".admin__control-text[name='general[name]']"/>
    </section>
    <section name="AdminEditStockSalesChannelsSection">
        <element name="websites" type="select" selector="select[name='sales_channels[website]']"/>
    </section>
    <section name="AdminEditStockSourcesSection">
        <element name="assignSources" type="button" selector="button[data-index='assign_sources_button']" timeout="30"/>
        <element name="rowSourceDrag" type="block" selector=".data-row[data-repeat-index='{{arg1}}'] .draggable-handle" parameterized="true"/>
        <element name="rowSourceCode" type="text" selector=".data-row[data-repeat-index='{{arg1}}'] span[data-index='code']" parameterized="true"/>
        <element name="rowSourceName" type="text" selector=".data-row[data-repeat-index='{{arg1}}'] span[data-index='name']" parameterized="true"/>
        <element name="rowSourceDelete" type="button" selector=".data-row[data-repeat-index='{{arg1}}'] .action-delete" parameterized="true"/>
    </section>
</sections>