OrderReportMainSection.xml 1.6 KB

1234567891011121314151617181920212223242526272829
  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="OrderReportMainSection">
  11. <element name="showReport" type="button" selector="#filter_form_submit"/>
  12. <element name="here" type="text" selector="//a[contains(text(), 'here')]"/>
  13. </section>
  14. <section name="OrderReportFilterSection">
  15. <element name="dateFrom" type="input" selector="#sales_report_from"/>
  16. <element name="dateTo" type="input" selector="#sales_report_to"/>
  17. <element name="orderStatus" type="select" selector="#sales_report_show_order_statuses"/>
  18. <element name="optionAny" type="option" selector="//select[@id='sales_report_show_order_statuses']/option[contains(text(), 'Any')]"/>
  19. <element name="optionSpecified" type="option" selector="//select[@id='sales_report_show_order_statuses']/option[contains(text(), 'Specified')]"/>
  20. <element name="orderStatusSpecified" type="select" selector="#sales_report_order_statuses"/>
  21. </section>
  22. <section name="GeneratedReportSection">
  23. <element name="ordersCount" type="text" selector="//tr[@class='totals']/th[@class=' col-orders col-orders_count col-number']"/>
  24. <element name="canceledOrders" type="text" selector="//tr[@class='totals']/th[@class=' col-canceled col-total_canceled_amount a-right']"/>
  25. </section>
  26. </sections>