Skip to content

Commit ff0fbc2

Browse files
committed
MQE-812: Tests/Action Groups should infer order based on the top level argument
- static check fix.
1 parent 9d7e4ce commit ff0fbc2

File tree

1 file changed

+1
-1
lines changed
  • src/Magento/FunctionalTestingFramework/Test/Config

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ protected function appendMergePointerToActions($testNode, $pointerType, $pointer
122122
}
123123
if ($currentNode->hasAttribute('stepKey')) {
124124
if ($currentNode->hasAttribute($pointerType) && $testNode->hasAttribute($pointerType)) {
125-
$errorMsg = "Actions cannot have a before/after pointer if they are in a test that provides a merge pointer.";
125+
$errorMsg = "Actions cannot have merge pointers if contained in tests that has a merge pointer.";
126126
$errorMsg .= "\n\tstepKey: {$currentNode->getAttribute('stepKey')}\tin file: {$filename}";
127127
$exceptionCollector->addError($filename, $errorMsg);
128128
continue;

0 commit comments

Comments
 (0)