Skip to content

Commit a453b49

Browse files
authored
Update Flat.php
1 parent d58eaa0 commit a453b49

File tree

1 file changed

+0
-5
lines changed
  • src/Magento/FunctionalTestingFramework/Test/Config/Converter/Dom

1 file changed

+0
-5
lines changed

src/Magento/FunctionalTestingFramework/Test/Config/Converter/Dom/Flat.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ public function convert($source)
7070
* @return string|array
7171
* @throws \UnexpectedValueException
7272
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
73-
* @SuppressWarnings(PHPMD.NPathComplexity)
7473
* Revisited to reduce cyclomatic complexity, left unrefactored for readability
7574
*/
7675
public function convertXml(\DOMNode $source, $basePath = '')
@@ -85,10 +84,6 @@ public function convertXml(\DOMNode $source, $basePath = '')
8584
$isNumericArrayNode = $this->arrayNodeConfig->isNumericArray($nodePath);
8685
$isArrayNode = $isNumericArrayNode || $arrayKeyAttribute;
8786

88-
if (isset($value[$nodeName]) && $nodeName === 'waitForElementClickable') {
89-
unset($value[$nodeName]);
90-
}
91-
9287
if (isset($value[$nodeName]) && !$isArrayNode) {
9388
throw new \UnexpectedValueException(
9489
"Node path '{$nodePath}' is not unique, but it has not been marked as array."

0 commit comments

Comments
 (0)