Skip to content

Commit 6801317

Browse files
committed
MQE-876: Add Skipped Tests in Allure Report
- Added newline to skip test generation to meet coding standards
1 parent b6668bc commit 6801317

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Magento/FunctionalTestingFramework/Test/Objects/TestObject.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function isSkipped()
7979
if (array_key_exists('group', $this->annotations) && (in_array("skip", $this->annotations['group']))) {
8080
return true;
8181
}
82-
return $false;
82+
return false;
8383
}
8484

8585
/**

src/Magento/FunctionalTestingFramework/Util/TestGenerator.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1478,7 +1478,7 @@ private function generateTestPhp($test)
14781478
$testAnnotations = $this->generateAnnotationsPhp($test->getAnnotations(), true);
14791479
$dependencies = 'AcceptanceTester $I';
14801480
if ($test->isSkipped()) {
1481-
$steps = "\t\t" . '$scenario->skip("This test is skipped");';
1481+
$steps = "\t\t" . '$scenario->skip("This test is skipped");' . "\n";
14821482
$dependencies .= ', \Codeception\Scenario $scenario';
14831483
} else {
14841484
try {

0 commit comments

Comments
 (0)