<?xml version="1.0" encoding="UTF-8"?>
<!--
 /**
  * Copyright 2018 Adobe
  * All Rights Reserved.
  */
-->

<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
    <section name="AdminTaxRuleGridSection">
        <element name="add" type="button" selector="#add" timeout="30"/>
        <element name="search" type="button" selector="button[data-action='grid-filter-apply']" timeout="30"/>
        <element name="code" type="input" selector="#taxRuleGrid_filter_code"/>
        <element name="taxRate" type="input" selector="#taxRuleGrid_filter_tax_rates_codes"/>
        <element name="nthRow" type="block" selector="tr[data-role='row']:nth-of-type({{var}})" parameterized="true" timeout="30"/>
        <element name="successMessage" type="text" selector="#messages"/>
        <element name="emptyText" type="text" selector="td.empty-text"/>
        <element name="allRows" type="block" selector="//table[@id='taxRuleGrid_table']//tbody//tr//td[@data-column='code']"/>
    </section>
</sections>
