Skip to content

Commit daf51e0

Browse files
committed
MQE-1234: Allow XML Parser to read XML comment into comment action
- do not humanize comment actions
1 parent f6eb3ab commit daf51e0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Magento/FunctionalTestingFramework/Allure/Adapter/MagentoAllureAdapter.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,9 @@ public function stepBefore(StepEvent $stepEvent)
132132
}
133133

134134
// DO NOT alter action if actionGroup is starting, need the exact actionGroup name for good logging
135-
if (strpos($stepEvent->getStep()->getAction(), ActionGroupObject::ACTION_GROUP_CONTEXT_START) !== false) {
135+
if (strpos($stepEvent->getStep()->getAction(), ActionGroupObject::ACTION_GROUP_CONTEXT_START) !== false
136+
|| $stepEvent->getStep() instanceof Comment
137+
) {
136138
$stepAction = $stepEvent->getStep()->getAction();
137139
} else {
138140
$stepAction = $stepEvent->getStep()->getHumanizedActionWithoutArguments();

0 commit comments

Comments
 (0)