12345678910111213141516171819202122 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!--
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- -->
- <sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
- <section name="AdminCartPriceRulesSection">
- <element name="addNewRuleButton" type="button" selector="#add" timeout="30"/>
- <element name="messages" type="text" selector=".messages"/>
- <element name="filterByNameInput" type="input" selector="input[name='name']"/>
- <element name="searchButton" type="button" selector="#promo_quote_grid button[title='Search']" timeout="30"/>
- <element name="nameColumns" type="text" selector="td[data-column='name']"/>
- <element name="rowContainingText" type="text" selector="//*[@id='promo_quote_grid_table']/tbody/tr[td//text()[contains(., '{{var1}}')]]" parameterized="true" timeout="30"/>
- <element name="rowByIndex" type="text" selector="tr[data-role='row']:nth-of-type({{var1}})" parameterized="true" timeout="30"/>
- <element name="rulesRow" type="text" selector="//tr[@data-role='row']"/>
- <element name="pageCurrent" type="text" selector="//label[@for='promo_quote_grid_page-current']"/>
- <element name="totalCount" type="text" selector="span[data-ui-id*='grid-total-count']"/>
- </section>
- </sections>
|