AdminManageStockGridSection.xml 1.5 KB

1234567891011121314151617181920212223242526
  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="AdminManageStockGridControls">
  11. <element name="addNewStock" type="button" selector="#add" timeout="30"/>
  12. <element name="multicheckDropdown" type="button" selector="div[data-role='grid-wrapper'] th.data-grid-multicheck-cell button.action-multicheck-toggle"/>
  13. <element name="multicheckOption" type="button" selector="//div[@data-role='grid-wrapper']//th[contains(@class, data-grid-multicheck-cell)]//li//span[text() = '{{label}}']" parameterized="true"/>
  14. </section>
  15. <section name="AdminManageStockGridFilterControls">
  16. <element name="idFrom" type="input" selector=".admin__data-grid-filters-wrap input[name='stock_id[from]']"/>
  17. <element name="idTo" type="input" selector=".admin__data-grid-filters-wrap input[name='stock_id[to]']"/>
  18. <element name="name" type="input" selector=".admin__data-grid-filters-wrap input[name='name']"/>
  19. <element name="noRecords" type="text" selector=".data-grid-tr-no-data"/>
  20. </section>
  21. <section name="AdminManageStockGridBody">
  22. <element name="dataRows" type="input" selector=".data-row"/>
  23. <element name="stockSelectedCheckbox" type="checkbox" selector="#idscheck{{id}}" parameterized="true"/>
  24. </section>
  25. </sections>