<?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="AdminEditProductAttributesSection">
        <element name="AttributeName" type="text" selector="#name"/>
        <element name="ChangeAttributeNameToggle" type="checkbox" selector="#toggle_name"/>
        <element name="NameError" type="text" selector="#name-error"/>
        <element name="AttributePrice" type="text" selector="#price"/>
        <element name="ChangeAttributePriceToggle" type="checkbox" selector="#toggle_price"/>
        <element name="PriceError" type="text" selector="#price-error"/>
        <element name="AttributeDescription" type="text" selector="#description"/>
        <element name="ChangeAttributeDescriptionToggle" type="checkbox" selector="#toggle_description"/>
        <element name="Save" type="button" selector="button[title=Save]" timeout="30"/>
        <element name="ProductDataMayBeLostModal" type="button" selector="//aside[contains(@class,'_show')]//header[contains(.,'Product data may be lost')]"/>
        <element name="ProductDataMayBeLostConfirmButton" type="button" selector="//aside[contains(@class,'_show')]//button[.='Change Input Type']"/>
        <element name="defaultLabel" type="text" selector="//td[contains(text(), '{{attributeName}}')]/following-sibling::td[contains(@class, 'col-frontend_label')]" parameterized="true"/>
        <element name="formByStoreId" type="block" selector="//form[contains(@action,'store/{{store_id}}')]" parameterized="true"/>
        <element name="tabButton" type="text" selector="#product_attribute_tabs a[title='{{tabName}}']" parameterized="true"/>
        <element name="attributeShortDescription" type="text" selector="#short_description"/>
        <element name="changeAttributeShortDescriptionToggle" type="checkbox" selector="#toggle_short_description"/>
        <element name="attributeInput" type="input" selector="#{{attributeCode}}"  parameterized="true"/>
        <element name="toggleAttribute" type="checkbox" selector="#toggle_{{attributeCode}}" parameterized="true"/>
        <element name="AttributeDynamicPrice" type="select" selector="#price_type"/>
        <element name="AttributeDynamicSKU" type="select" selector="#sku_type"/>
        <element name="AttributeDynamicWeight" type="select" selector="#weight_type"/>
        <element name="ChangeAttributeDynamicPriceToggle" type="checkbox" selector="#toggle_price_type"/>
        <element name="ChangeAttributeDynamicSKUToggle" type="checkbox" selector="#toggle_sku_type"/>
        <element name="ChangeAttributeDynamicWeightToggle" type="checkbox" selector="#toggle_weight_type"/>
    </section>
</sections>
