Skip to content

Commit 5f33985

Browse files
Manjusha.SManjusha.S
Manjusha.S
authored and
Manjusha.S
committed
ACQE-3210 : Cannot Use WaitForElementClickable Action More Than Once in Actiongroup or Test Case Fix
1 parent 588649e commit 5f33985

File tree

1 file changed

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

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,10 @@ public function convertXml(\DOMNode $source, $basePath = '')
8484
$isNumericArrayNode = $this->arrayNodeConfig->isNumericArray($nodePath);
8585
$isArrayNode = $isNumericArrayNode || $arrayKeyAttribute;
8686

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

0 commit comments

Comments
 (0)