1 # This is a dotenv file used by JavaScript tasks.
2 # Copy this to '.env' to override.
4 #############################
5 # General Test Environment #
6 #############################
7 # This is the URL that Drupal can be accessed by. You don't need an installed
8 # site here, just make sure you can at least access the installer screen. If you
9 # don't already have one running, e.g. Apache, you can use PHP's built-in web
10 # server by running the following command in your Drupal root folder:
11 # php -S localhost:8888 .ht.router.php
12 # DRUPAL_TEST_BASE_URL=http://localhost:8888
15 # Tests need to be executed with a user in the same group as the web server
17 #DRUPAL_TEST_WEBSERVER_USER=www-data
19 # By default we use sqlite as database. Use
20 # mysql://username:password@localhost/databasename#table_prefix for mysql.
21 DRUPAL_TEST_DB_URL=sqlite://localhost/sites/default/files/db.sqlite
27 # If Chromedriver is running as a service elsewhere, set it here.
28 # When using DRUPAL_TEST_CHROMEDRIVER_AUTOSTART leave this at the default settings.
29 DRUPAL_TEST_WEBDRIVER_HOSTNAME=localhost
30 DRUPAL_TEST_WEBDRIVER_PORT=9515
32 # If using Selenium, override the path prefix here.
33 # See http://nightwatchjs.org/gettingstarted#browser-drivers-setup
34 #DRUPAL_TEST_WEBDRIVER_PATH_PREFIX=/wd/hub
40 # Automatically start chromedriver for local development. Set to false when you
41 # use your own webdriver or chromedriver setup.
42 # Also set it to false when you use a different browser for testing.
43 DRUPAL_TEST_CHROMEDRIVER_AUTOSTART=true
45 # A list of arguments to pass to Chrome, separated by spaces
46 # e.g. `--disable-gpu --headless --no-sandbox`.
47 #DRUPAL_TEST_WEBDRIVER_CHROME_ARGS=
53 # Nightwatch generates output files. Use this to specify the location where these
54 # files need to be stored. The default location is ignored by git, if you modify
55 # the location you will probably want to add this location to your .gitignore.
56 DRUPAL_NIGHTWATCH_OUTPUT=reports/nightwatch
58 # The path that Nightwatch searches for assumes the same directory structure as
59 # when you download Drupal core. If you have Drupal installed into a docroot
60 # folder, you can use the following folder structure to add integration tests
61 # for your project, outside of tests specifically for custom modules/themes/profiles.
71 # and then set DRUPAL_NIGHTWATCH_SEARCH_DIRECTORY=../
73 #DRUPAL_NIGHTWATCH_SEARCH_DIRECTORY=
75 # Filter directories to look for tests. This uses minimatch syntax.
76 # Separate folders with a comma.
77 DRUPAL_NIGHTWATCH_IGNORE_DIRECTORIES=node_modules,vendor,.*,sites/*/files,sites/*/private,sites/simpletest