AdminCartPriceRulesSection.xml 1.4 KB

12345678910111213141516171819202122
  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="AdminCartPriceRulesSection">
  11. <element name="addNewRuleButton" type="button" selector="#add" timeout="30"/>
  12. <element name="messages" type="text" selector=".messages"/>
  13. <element name="filterByNameInput" type="input" selector="input[name='name']"/>
  14. <element name="searchButton" type="button" selector="#promo_quote_grid button[title='Search']" timeout="30"/>
  15. <element name="nameColumns" type="text" selector="td[data-column='name']"/>
  16. <element name="rowContainingText" type="text" selector="//*[@id='promo_quote_grid_table']/tbody/tr[td//text()[contains(., '{{var1}}')]]" parameterized="true" timeout="30"/>
  17. <element name="rowByIndex" type="text" selector="tr[data-role='row']:nth-of-type({{var1}})" parameterized="true" timeout="30"/>
  18. <element name="rulesRow" type="text" selector="//tr[@data-role='row']"/>
  19. <element name="pageCurrent" type="text" selector="//label[@for='promo_quote_grid_page-current']"/>
  20. <element name="totalCount" type="text" selector="span[data-ui-id*='grid-total-count']"/>
  21. </section>
  22. </sections>