From 83a6e955c5354252aadfb603c0b6f98198b62c0c Mon Sep 17 00:00:00 2001 From: Lee Rowlands <lee.rowlands@previousnext.com.au> Date: Tue, 6 Aug 2019 16:50:55 +1000 Subject: [PATCH] Issue #2962765 by juampynr, shubham.prakash: Clarify how to set MINK variables at phpunit.xml.dist --- core/phpunit.xml.dist | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/core/phpunit.xml.dist b/core/phpunit.xml.dist index cde7773b2701..2202550fee63 100644 --- a/core/phpunit.xml.dist +++ b/core/phpunit.xml.dist @@ -24,9 +24,13 @@ <!-- To disable deprecation testing completely uncomment the next line. --> <!-- <env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled"/> --> <!-- Example for changing the driver class for mink tests MINK_DRIVER_CLASS value: 'Drupal\FunctionalJavascriptTests\DrupalSelenium2Driver' --> + <env name="MINK_DRIVER_CLASS" value=''/> <!-- Example for changing the driver args to mink tests MINK_DRIVER_ARGS value: '["http://127.0.0.1:8510"]' --> + <env name="MINK_DRIVER_ARGS" value=''/> <!-- Example for changing the driver args to phantomjs tests MINK_DRIVER_ARGS_PHANTOMJS value: '["http://127.0.0.1:8510"]' --> - <!-- Example for changing the driver args to webdriver tests MINK_DRIVER_ARGS_WEBDRIVER value: '["firefox", null, "http://localhost:4444/wd/hub"]' --> + <env name="MINK_DRIVER_ARGS_PHANTOMJS" value=''/> + <!-- Example for changing the driver args to webdriver tests MINK_DRIVER_ARGS_WEBDRIVER value: '["firefox", null, "http://localhost:4444/wd/hub"]' For using the Chrome browser, replace "firefox" with "chrome" --> + <env name="MINK_DRIVER_ARGS_WEBDRIVER" value=''/> </php> <testsuites> <testsuite name="unit"> -- GitLab