File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
src/Magento/FunctionalTestingFramework/Extension Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -383,7 +383,6 @@ public function stepName(\Codeception\Event\StepEvent $e)
383
383
//Hard set to 200; we don't expose this config in MFTF
384
384
$ argumentsLength = 200 ;
385
385
$ stepKey = null ;
386
-
387
386
if (!($ e ->getStep () instanceof Comment)) {
388
387
$ stepKey = $ this ->retrieveStepKeyForAllure ($ e ->getStep (), $ e ->getTest ()->getMetadata ()->getFilename ());
389
388
$ isActionGroup = (
@@ -401,15 +400,10 @@ public function stepName(\Codeception\Event\StepEvent $e)
401
400
}
402
401
// DO NOT alter action if actionGroup is starting, need the exact actionGroup name for good logging
403
402
if (strpos ($ stepAction , ActionGroupObject::ACTION_GROUP_CONTEXT_START ) === false
404
- && !($ e ->getStep () instanceof Comment)
405
403
) {
406
404
$ stepAction = $ e ->getStep ()->getHumanizedActionWithoutArguments ();
407
405
}
408
406
$ stepArgs = $ e ->getStep ()->getArgumentsAsString ($ argumentsLength );
409
- if (!trim ($ stepAction )) {
410
- $ stepAction = $ e ->getStep ()->getMetaStep ()->getHumanizedActionWithoutArguments ();
411
- $ stepArgs = $ e ->getStep ()->getMetaStep ()->getArgumentsAsString ($ argumentsLength );
412
- }
413
407
$ stepName = '' ;
414
408
415
409
if (isset ($ stepName )) {
You can’t perform that action at this time.
0 commit comments