No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 
 
 

29 líneas
2.2 KiB

  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="AdminTaxRateGridSection">
  11. <element name="grid" type="block" selector="#tax_rate_grid"/>
  12. <element name="add" type="button" selector="#add" timeout="30"/>
  13. <element name="search" type="button" selector="button[data-action='grid-filter-apply']" timeout="30"/>
  14. <element name="filterByTaxIdentifier" type="input" selector="#tax_rate_grid_filter_code"/>
  15. <element name="filterByCountry" type="input" selector="#tax_rate_grid_filter_tax_country_id"/>
  16. <element name="filterByPostCode" type="input" selector="#tax_rate_grid_filter_tax_postcode"/>
  17. <element name="allRows" type="block" selector="#tax_rate_grid_table tbody tr"/>
  18. <element name="nthRow" type="block" parameterized="true" timeout="30" selector="#tax_rate_grid_table tbody tr:nth-of-type({{rowIndex}})"/>
  19. <element name="taxIdentifierByRow" type="text" parameterized="true" selector="#tax_rate_grid_table tbody tr:nth-of-type({{rowIndex}}) [data-column=code]"/>
  20. <element name="countryByRow" type="text" parameterized="true" selector="#tax_rate_grid_table tbody tr:nth-of-type({{rowIndex}}) [data-column=tax_country_id]"/>
  21. <element name="regionByRow" type="text" parameterized="true" selector="#tax_rate_grid_table tbody tr:nth-of-type({{rowIndex}}) [data-column=region_name]"/>
  22. <element name="zipByRow" type="text" parameterized="true" selector="#tax_rate_grid_table tbody tr:nth-of-type({{rowIndex}}) [data-column=tax_postcode]"/>
  23. <element name="rateByRow" type="text" parameterized="true" selector="#tax_rate_grid_table tbody tr:nth-of-type({{rowIndex}}) [data-column=rate]"/>
  24. <element name="allNonDefaultTaxRates" type="block" selector="//table[@id='tax_rate_grid_table']//tbody//tr//td[@data-column='code' and not(contains(.,'US-CA-*-Rate 1')) and not(contains(.,'US-NY-*-Rate 1'))]"/>
  25. <element name="emptyText" type="text" selector=".empty-text"/>
  26. </section>
  27. </sections>