diff --git a/src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php b/src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php index 215438420..c1ab892d7 100644 --- a/src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php +++ b/src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php @@ -517,11 +517,13 @@ public function scrollToTopOfPage() */ public function magentoCLI($command, $arguments = null) { - try { - return $this->shellExecMagentoCLI($command, $arguments); - } catch (\Exception $exception) { - return $this->curlExecMagentoCLI($command, $arguments); - } + return $this->curlExecMagentoCLI($command, $arguments); + //TODO: calling bin/magento from pipeline is timing out, needs investigation (ref: MQE-1774) +// try { +// return $this->shellExecMagentoCLI($command, $arguments); +// } catch (\Exception $exception) { +// return $this->curlExecMagentoCLI($command, $arguments); +// } } /** @@ -837,6 +839,7 @@ public function makeScreenshot($name = null) * * @throws \RuntimeException * @return string + * @SuppressWarnings(PHPMD.UnusedPrivateMethod) */ private function shellExecMagentoCLI($command, $arguments): string {