We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17fd97b commit 3845479Copy full SHA for 3845479
src/Magento/FunctionalTestingFramework/Test/Config/Dom.php
@@ -88,7 +88,8 @@ public function initDom($xml, $filename = null)
88
{
89
$dom = parent::initDom($xml, $filename);
90
91
- if ($this->checkFilenameSuffix($filename, self::TEST_FILE_NAME_ENDING)) {
+ // Cannot rely on filename to ensure this file is a Test.xml
92
+ if ($dom->getElementsByTagName('tests')->length > 0) {
93
$testsNode = $dom->getElementsByTagName('tests')[0];
94
$testNodes = $dom->getElementsByTagName('test');
95
$this->testsValidationUtil->validateChildUniqueness(
0 commit comments