AdminCustomerShoppingCartSection.xml 1.3 KB

1234567891011121314151617181920212223
  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="AdminCustomerShoppingCartSection">
  11. <element name="createOrderButton" type="button" selector="button[title='Create Order']"/>
  12. </section>
  13. <section name="AdminCustomerShoppingCartProductItemSection">
  14. <element name="productItem" type="button" selector="#dt-products"/>
  15. <element name="productNameFilter" type="input" selector="#source_products_filter_name"/>
  16. <element name="searchButton" type="button" selector="//*[@id='anchor-content']//button[@title='Search']"/>
  17. <element name="firstProductCheckbox" type="checkbox" selector="//*[@id='source_products_table']/tbody/tr[1]//*[@name='source_products']"/>
  18. <element name="addSelectionsToMyCartButton" type="button" selector="//*[@id='products_search']/div[1]//*[text()='Add selections to my cart']"/>
  19. <element name="addedProductName" type="text" selector="//*[@id='order-items_grid']//*[text()='{{var}}']" parameterized="true"/>
  20. </section>
  21. </sections>