From 0f0f1404ea651c5e7ed92131c44b51f943a604a0 Mon Sep 17 00:00:00 2001 From: Alex Kolesnyk <okolesnyk@magento.com> Date: Fri, 8 Dec 2017 21:53:03 +0200 Subject: [PATCH] MQE-592: Audit Test Cases on Firefox/Chrome on Windows/OSX --- dev/tests/acceptance/tests/_bootstrap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/tests/acceptance/tests/_bootstrap.php b/dev/tests/acceptance/tests/_bootstrap.php index a3d7b41f397..78d69c1ce9f 100644 --- a/dev/tests/acceptance/tests/_bootstrap.php +++ b/dev/tests/acceptance/tests/_bootstrap.php @@ -24,7 +24,7 @@ if (file_exists(PROJECT_ROOT . '/.env')) { defined('FW_BP') || define('FW_BP', PROJECT_ROOT . $RELATIVE_FW_PATH); // add the debug flag here -$debug_mode = $_ENV['MFTF_DEBUG'] ?? false; -if (!$debug_mode) { +$debug_mode = (bool)$_ENV['MFTF_DEBUG'] ?? false; +if (!$debug_mode && extension_loaded('xdebug')) { xdebug_disable(); } -- GitLab