File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
src/Magento/FunctionalTestingFramework
Test/Config/Converter/Dom Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff 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 }'] " ;
Original file line number Diff line number Diff 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 ] =
You can’t perform that action at this time.
0 commit comments