AdminTaxReportsSection.xml 1.1 KB

12345678910111213141516171819
  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="../../../../../../../vendor/magento/magento2-functional-testing-framework/src/Magento/FunctionalTestingFramework/Page/etc/SectionObject.xsd">
  10. <section name="AdminTaxReportsSection">
  11. <element name="refreshStatistics" type="button" selector="//a[contains(text(),'here')]"/>
  12. <element name="fromDate" type="input" selector="#sales_report_from"/>
  13. <element name="toDate" type="input" selector="//*[@id='sales_report_to']/following-sibling::button"/>
  14. <element name="goTodayButton" type="input" selector="//button[contains(text(),'Go Today')]"/>
  15. <element name="showReportButton" type="button" selector="#filter_form_submit"/>
  16. <element name="taxRuleAmount" type="textarea" selector="//*[contains(text(),'{{var1}}')]/following-sibling::td[contains(@class, 'col-tax-amount')]" parameterized="true"/>
  17. </section>
  18. </sections>