Skip to content

Commit 3bac628

Browse files
committed
output
1 parent 70b3886 commit 3bac628

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

phpunit.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,26 @@
5858
<!-- Example for changing the driver args to webdriver tests MINK_DRIVER_ARGS_WEBDRIVER value: '["chrome", { "goog:chromeOptions": { "w3c": false } }, "http://localhost:4444/wd/hub"]' For using the Firefox browser, replace "chrome" with "firefox" -->
5959
<env name="MINK_DRIVER_ARGS_WEBDRIVER" value=""/>
6060
</php>
61+
<extensions>
62+
<!-- Functional tests HTML output logging. -->
63+
<bootstrap class="Drupal\TestTools\Extension\HtmlLogging\HtmlOutputLogger">
64+
<!-- The directory where the browser output will be stored. If a relative
65+
path is specified, it will be relative to the current working directory
66+
of the process running the PHPUnit CLI. In CI environments, this can be
67+
overridden by the value set for the "BROWSERTEST_OUTPUT_DIRECTORY"
68+
environment variable.
69+
-->
70+
<!-- Setting a custom value does not work. @see https://www.drupal.org/project/drupal/issues/2992069 -->
71+
<parameter name="outputDirectory" value="sites/simpletest/browser_output"/>
72+
<!-- By default browser tests print the individual links in the test run
73+
report. To avoid overcrowding the output in CI environments, you can
74+
set the "verbose" parameter or the "BROWSERTEST_OUTPUT_VERBOSE"
75+
environment variable to "false". In GitLabCI, the output is saved
76+
anyway as an artifact that can be browsed or downloaded from Gitlab.
77+
-->
78+
<parameter name="verbose" value="true"/>
79+
</bootstrap>
80+
</extensions>
6181
<testsuites>
6282
<testsuite name="unit">
6383
<directory>web/modules/custom/*/tests/src/Unit</directory>

0 commit comments

Comments
 (0)