Skip to content

Commit 0a7c974

Browse files
ENGCOM-5641: MFTF Low stock reports sections and page. #24111
- Merge Pull Request #24111 from nmalevanec/magento2:MFTF-Low-Stock-Reports - Merged commits: 1. 323349d
2 parents 74aa9c6 + 323349d commit 0a7c974

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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+
<pages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/PageObject.xsd">
9+
<page name="LowStockReportPage" url="reports/report_product/lowstock/" area="admin" module="Reports">
10+
<section name="LowStockReportMainSection"/>
11+
<section name="LowStockProductGridSection"/>
12+
</page>
13+
</pages>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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+
9+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
11+
<section name="LowStockProductGridSection">
12+
<element name="productSku" type="input" selector="//tr[1]/td[@data-column='sku']"/>
13+
<element name="productName" type="input" selector="//tr[1]/td[@data-column='name']"/>
14+
<element name="productQty" type="input" selector="//tr[1]/td[@data-column='qty']"/>
15+
</section>
16+
</sections>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
9+
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
10+
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
11+
<section name="LowStockReportFilterSection">
12+
<element name="productSku" type="input" selector="#gridLowstock_filter_sku"/>
13+
<element name="productName" type="input" selector="#gridLowstock_filter_name"/>
14+
<element name="qtyFrom" type="input" selector="#gridLowstock_filter_qty_from"/>
15+
<element name="qtyTo" type="input" selector="#gridLowstock_filter_qty_to"/>
16+
<element name="searchButton" type="button" selector="//button/span[text()='Search']"/>
17+
<element name="resetButton" type="button" selector="//button/span[text()='Reset Filter']"/>
18+
</section>
19+
</sections>

0 commit comments

Comments
 (0)