Skip to content

Commit 110c3a5

Browse files
committed
MQE-541: changed to use stepKey for test step sequencing.
1 parent 546f165 commit 110c3a5

File tree

2 files changed

+4
-0
lines changed
  • src/Magento/FunctionalTestingFramework

2 files changed

+4
-0
lines changed

src/Magento/FunctionalTestingFramework/Config/Dom.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ protected function getNodePathByParent(\DOMElement $node, $parentPath)
224224
if ($value = $node->getAttribute($idAttributeValue)) {
225225
$path .= "[@{$idAttributeValue}='{$value}']";
226226
break;
227+
// TODO Remove the following elseif block once the 'mergeKey' attribute has been fully deprecated.
227228
} elseif (empty($value) && $idAttributeValue === GlobalConstants::TEST_ID_ATTRIBUTE) {
229+
print "use of the 'mergeKey' attribute will be deprecated in the next release.\n";
228230
$idAttributeValue = GlobalConstants::DEPRECATED_TEST_ID_ATTRIBUTE;
229231
if ($value = $node->getAttribute($idAttributeValue)) {
230232
$path .= "[@{$idAttributeValue}='{$value}']";

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ public function convertXml(\DOMNode $source, $basePath = '')
8686
}
8787

8888
$nodeData = $this->convertXml($node, $nodePath);
89+
90+
// TODO Remove the following if block once the 'mergeKey' attribute has been fully deprecated.
8991
if (!isset($nodeData[GlobalConstants::TEST_ID_ATTRIBUTE])
9092
&& isset($nodeData[GlobalConstants::DEPRECATED_TEST_ID_ATTRIBUTE])) {
9193
$nodeData[GlobalConstants::TEST_ID_ATTRIBUTE] =

0 commit comments

Comments
 (0)