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