Skip to content

Commit 741264b

Browse files
authored
Merge pull request #456 from magento-commerce/ACQE-1798
Acqe 1798
2 parents e50fcce + 9468f7b commit 741264b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Magento/FunctionalTestingFramework/Extension/TestContextExtension.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,6 @@ public function stepName(\Codeception\Event\StepEvent $e)
383383
//Hard set to 200; we don't expose this config in MFTF
384384
$argumentsLength = 200;
385385
$stepKey = null;
386-
387386
if (!($e->getStep() instanceof Comment)) {
388387
$stepKey = $this->retrieveStepKeyForAllure($e->getStep(), $e->getTest()->getMetadata()->getFilename());
389388
$isActionGroup = (
@@ -401,15 +400,10 @@ public function stepName(\Codeception\Event\StepEvent $e)
401400
}
402401
// DO NOT alter action if actionGroup is starting, need the exact actionGroup name for good logging
403402
if (strpos($stepAction, ActionGroupObject::ACTION_GROUP_CONTEXT_START) === false
404-
&& !($e->getStep() instanceof Comment)
405403
) {
406404
$stepAction = $e->getStep()->getHumanizedActionWithoutArguments();
407405
}
408406
$stepArgs = $e->getStep()->getArgumentsAsString($argumentsLength);
409-
if (!trim($stepAction)) {
410-
$stepAction = $e->getStep()->getMetaStep()->getHumanizedActionWithoutArguments();
411-
$stepArgs = $e->getStep()->getMetaStep()->getArgumentsAsString($argumentsLength);
412-
}
413407
$stepName = '';
414408

415409
if (isset($stepName)) {

0 commit comments

Comments
 (0)