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)
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 )) {
You can’t perform that action at this time.
0 commit comments