AdminOrderFormItemsSection.xml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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="AdminOrderFormItemsSection">
  11. <element name="skuNumber" type="input" selector="#sku_{{row}}" parameterized="true"/>
  12. <element name="qty" type="input" selector="#sku_qty_{{row}}" parameterized="true"/>
  13. <element name="addAnother" type="button" selector="#sku_container .col-actions > button.add"/>
  14. <element name="deleteRow" type="button" selector="#sku_container tr:nth_of_type({{row}}) .col-actions button.action-delete" parameterized="true"/>
  15. <element name="addToOrder" type="button" selector="#order-additional_area .admin__page-section-title .actions button.action-add"/>
  16. <element name="addProducts" type="button" selector="//section[@id='order-items']/div/div/button/span[text() = 'Add Products']" timeout="30"/>
  17. <element name="search" type="button" selector="#sales_order_create_search_grid [data-action='grid-filter-apply']" timeout="30"/>
  18. <element name="resetFilter" type="button" selector="#sales_order_create_search_grid [data-action='grid-filter-reset']" timeout="30"/>
  19. <element name="idFilter" type="input" selector="#sales_order_create_search_grid_filter_entity_id"/>
  20. <element name="nameFilter" type="input" selector="#sales_order_create_search_grid_filter_name"/>
  21. <element name="skuFilter" type="input" selector="#sales_order_create_search_grid_filter_sku"/>
  22. <element name="priceFromFilter" type="input" selector="#sales_order_create_search_grid_filter_price_from"/>
  23. <element name="priceToFilter" type="input" selector="#sales_order_create_search_grid_filter_price_to"/>
  24. <element name="selectedFilter" type="select" selector="#sales_order_create_search_grid_filter_in_products"/>
  25. <element name="row" type="text" selector="#sales_order_create_search_grid_table > tbody tr:nth-of-type({{row}})" parameterized="true"/>
  26. <element name="rowCheck" type="checkbox" selector="#sales_order_create_search_grid_table > tbody tr:nth-of-type({{row}}) td.col-select [type=checkbox]" parameterized="true"/>
  27. <element name="rowQty" type="input" selector="#sales_order_create_search_grid_table > tbody tr:nth-of-type({{row}}) td.col-qty [name='qty']" parameterized="true"/>
  28. <element name="rowPrice" type="text" selector="#sales_order_create_search_grid_table > tbody tr:nth-of-type({{row}}) td.price" parameterized="true"/>
  29. <element name="addSelected" type="button" selector="#order-search .admin__page-section-title .actions button.action-add" timeout="30"/>
  30. <element name="customPriceCheckbox" type="checkbox" selector="//*[@class='custom-price-block']/input"/>
  31. <element name="customPriceField" type="input" selector="//*[@class='custom-price-block']/following-sibling::input"/>
  32. <element name="updateItemsAndQuantities" type="button" selector="//span[contains(text(),'Update Items and Quantities')]"/>
  33. <element name="creditMemo" type="input" selector="#order_creditmemo"/>
  34. <element name="configure" type="button" selector=".product-configure-block button.action-default.scalable" timeout="30"/>
  35. </section>
  36. </sections>