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