Skip to content

Commit 655547d

Browse files
Manjusha.SManjusha.S
authored andcommitted
Merge branch 'AC-2660' into release-MFTF-4.0.0
2 parents 90f6291 + e1eb384 commit 655547d

File tree

3 files changed

+143
-0
lines changed

3 files changed

+143
-0
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"ext-json": "*",
1818
"ext-openssl": "*",
1919
"allure-framework/allure-codeception": "^1.4",
20+
"allure-framework/allure-phpunit": "^2",
2021
"aws/aws-sdk-php": "^3.132",
2122
"codeception/codeception": "^4.1",
2223
"codeception/module-asserts": "^1.1",

composer.lock

Lines changed: 138 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
use Magento\FunctionalTestingFramework\Module\Util\ModuleUtils;
2525
use Magento\FunctionalTestingFramework\Util\Path\UrlFormatter;
2626
use Magento\FunctionalTestingFramework\Util\ConfigSanitizerUtil;
27+
use Qameta\Allure\Allure;
2728
use Yandex\Allure\Adapter\AllureException;
2829
use Magento\FunctionalTestingFramework\DataTransport\Protocol\CurlTransport;
2930
use Yandex\Allure\Adapter\Support\AttachmentSupport;
@@ -148,6 +149,9 @@ class MagentoWebDriver extends WebDriver
148149
public function _initialize()
149150
{
150151
$this->config = ConfigSanitizerUtil::sanitizeWebDriverConfig($this->config);
152+
Allure::getLifecycleConfigurator()->setOutputDirectory(
153+
realpath(PROJECT_ROOT . '/dev/tests/acceptance/tests/_output/allure-results')
154+
);
151155
parent::_initialize();
152156
$this->cleanJsError();
153157
}

0 commit comments

Comments
 (0)