Skip to content

Commit 52db731

Browse files
committed
MC-29052: Magento\FunctionalTestingFramework.functional.AdminTaxReportGridTest fails randomly
1 parent 6f2123a commit 52db731

File tree

4 files changed

+15
-227
lines changed

4 files changed

+15
-227
lines changed

app/code/Magento/Sales/Test/Mftf/Section/AdminOrderItemsOrderedSection.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
<element name="itemTaxPercent" type="text" selector=".edit-order-table tr:nth-of-type({{row}}) .col-tax-percent" parameterized="true"/>
2121
<element name="itemDiscountAmount" type="text" selector=".edit-order-table tr:nth-of-type({{row}}) .col-discont .price" parameterized="true"/>
2222
<element name="itemTotal" type="text" selector=".edit-order-table tr:nth-of-type({{row}}) .col-total .price" parameterized="true"/>
23-
<element name="itemTaxAmountByProductName" type="text" selector="//table[contains(@class,'edit-order-table')]//div[contains(text(),'{{productName}}')]/ancestor::tr//td[contains(@class, 'col-tax-amount')]//span" parameterized="true"/>
2423

2524
<element name="productNameColumn" type="text" selector=".edit-order-table .col-product .product-title"/>
2625
<element name="productNameOptions" type="text" selector=".edit-order-table .col-product .item-options"/>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
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="AdminOrderItemsOrderedSection">
12+
<element name="itemTaxAmountByProductName" type="text" selector="//table[contains(@class,'edit-order-table')]//div[contains(text(),'{{productName}}')]/ancestor::tr//td[contains(@class, 'col-tax-amount')]//span" parameterized="true"/>
13+
</section>
14+
</sections>

app/code/Magento/Tax/Test/Mftf/Test/AdminCheckingTaxReportGridTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<description value="Tax Report Grid displays Tax amount in rows 'Total' and 'Subtotal' is a sum of all tax amounts"/>
1717
<severity value="MAJOR"/>
1818
<testCaseId value="MC-6230"/>
19-
<useCaseId value="MAGETWO-91521"/>
19+
<useCaseId value="MC-25815"/>
2020
<group value="Tax"/>
2121
</annotations>
2222
<before>

app/code/Magento/Tax/Test/Mftf/Test/AdminTaxReportGridTest.xml

Lines changed: 0 additions & 225 deletions
This file was deleted.

0 commit comments

Comments
 (0)