Skip to content

Commit 49d5a51

Browse files
committed
MTA-2096: Incompleted tests are displayed as passed in test results list
- CR Changes
1 parent e7b0094 commit 49d5a51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Magento/Mtf/System/JUnit.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function endTest(\PHPUnit_Framework_Test $test, $time)
8989
public function getXML()
9090
{
9191
$xpath = new \DOMXPath($this->document);
92-
$queryTestSuite = '//testsuite';
92+
$queryTestSuite = '//testsuite/testsuite/testsuite';
9393
$entriesTestSuite = $xpath->query($queryTestSuite);
9494
$countRow = $entriesTestSuite->length;
9595
for ($i = 0; $i < $countRow; $i++) {

0 commit comments

Comments
 (0)