Skip to content

Commit b6ca8a1

Browse files
Manjusha.SManjusha.S
Manjusha.S
authored and
Manjusha.S
committed
MQE-3840 : Fixed allure report not generating issue
1 parent b962b48 commit b6ca8a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Magento/FunctionalTestingFramework/Util/TestGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,9 +564,9 @@ public function requiredCredentials($testObject)
564564
private function generateClassAnnotations($annotationType, $annotationName, $testObject)
565565
{
566566
$annotationToAppend = null;
567-
$requiredCredentialsMessage = $this->requiredCredentials($testObject);
568-
$credMsg = "\n\n"."This test uses the following credentials:"."\n";
569567
if (!empty($requiredCredentialsMessage) && !empty($annotationName['main'])) {
568+
$requiredCredentialsMessage = $this->requiredCredentials($testObject);
569+
$credMsg = "\n\n"."This test uses the following credentials:"."\n";
570570
$annotationName = ['main'=>$annotationName['main'].', '.$credMsg.''.$requiredCredentialsMessage,
571571
'test_files'=> "\n".$annotationName['test_files'], 'deprecated'=>$annotationName['deprecated']];
572572
}

0 commit comments

Comments
 (0)