Skip to content

Commit aee8ae5

Browse files
authored
Merge pull request #686 from magento/MQE-2104
MQE-2104: Allure attachments don't appear in report for VERBOSE_ARTIF…
2 parents d558832 + 9229669 commit aee8ae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/Allure/Adapter/MagentoAllureAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ private function retrieveStepKey($stepLine)
398398
private function removeAttachments($step, $testFailed)
399399
{
400400
//Remove Attachments if verbose flag is not true AND test did not fail
401-
if (getenv('VERBOSE_ARTIFACTS') !== true && $testFailed === null) {
401+
if (getenv('VERBOSE_ARTIFACTS') !== "true" && $testFailed === null) {
402402
foreach ($step->getAttachments() as $index => $attachment) {
403403
$step->removeAttachment($index);
404404
unlink(Provider::getOutputDirectory() . DIRECTORY_SEPARATOR . $attachment->getSource());

0 commit comments

Comments
 (0)