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