<?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="AdminProductFormGroupedProductsSection">
        <element name="toggleGroupedProduct" type="button" selector="div[data-index=grouped] .admin__collapsible-title"/>
        <element name="addProductsToGroup" type="button" selector="button[data-index='grouped_products_button']" timeout="30"/>
        <element name="nextActionButton" type="button" selector="//*[@data-index='grouped']//*[@class='action-next']"/>
        <element name="previousActionButton" type="button" selector="//*[@data-index='grouped']//*[@class='action-previous']"/>
        <element name="positionProduct" type="input" selector="//tbody/tr[{{arg}}][contains(@class,'data-row')]/td[10]//input[@class='position-widget-input']" parameterized="true"/>
        <element name="nameProductFromGrid" type="text" selector="//tbody/tr[{{arg}}][contains(@class,'data-row')]/td[4]//*[@class='admin__field-control']//span" parameterized="true"/>
    </section>
</sections>
