Skip to content

Commit 9cd8891

Browse files
committed
MQE-1917: ENABLE_BROWSER_LOG = false attaches JS logs to allure
1 parent 8774ac6 commit 9cd8891

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Magento/FunctionalTestingFramework/Extension/TestContextExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public function beforeStep(\Codeception\Event\StepEvent $e)
182182
public function afterStep(\Codeception\Event\StepEvent $e)
183183
{
184184
$browserLog = $this->getDriver()->webDriver->manage()->getLog("browser");
185-
if (getenv('ENABLE_BROWSER_LOG')) {
185+
if (getenv('ENABLE_BROWSER_LOG') === 'true') {
186186
foreach (explode(',', getenv('BROWSER_LOG_BLACKLIST')) as $source) {
187187
$browserLog = BrowserLogUtil::filterLogsOfType($browserLog, $source);
188188
}

0 commit comments

Comments
 (0)