generated from ddev/ddev-addon-template
-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move to a config file. * Add #ddev-generated * Use install.yaml to copy * Escape quotes * Elaborate install instructions
- Loading branch information
Showing
4 changed files
with
41 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#ddev-generated | ||
# Remove the line above if you don't want this file to be overwritten when you run | ||
# ddev get drud/ddev-selenium-standalone-chrome | ||
# | ||
# This file comes from https://github.com/drud/ddev-selenium-standalone-chrome | ||
# | ||
web_environment: | ||
- BROWSERTEST_OUTPUT_DIRECTORY=/tmp | ||
- BROWSERTEST_OUTPUT_BASE_URL=${DDEV_PRIMARY_URL} | ||
- SIMPLETEST_BASE_URL=http://web | ||
- SIMPLETEST_DB=mysql://db:db@db/db | ||
# Use disable-dev-shm-usage instead of setting shm_usage | ||
# https://developers.google.com/web/tools/puppeteer/troubleshooting#tips | ||
# The format of chromeOptions is defined at https://chromedriver.chromium.org/capabilities | ||
- MINK_DRIVER_ARGS_WEBDRIVER=[\"chrome\", {\"browserName\":\"chrome\",\"chromeOptions\":{\"w3c\":false,\"args\":[\"--disable-gpu\",\"--headless\", \"--no-sandbox\", \"--disable-dev-shm-usage\"]}}, \"http://selenium-chrome:4444/wd/hub\"] | ||
# Nightwatch | ||
- DRUPAL_TEST_BASE_URL=http://web | ||
- DRUPAL_TEST_DB_URL=mysql://db:db@db/db | ||
- DRUPAL_TEST_WEBDRIVER_HOSTNAME=selenium-chrome | ||
- DRUPAL_TEST_WEBDRIVER_PORT=4444 | ||
- DRUPAL_TEST_WEBDRIVER_PATH_PREFIX=/wd/hub | ||
- DRUPAL_TEST_CHROMEDRIVER_AUTOSTART=false | ||
- DRUPAL_NIGHTWATCH_SEARCH_DIRECTORY=../ | ||
- DRUPAL_NIGHTWATCH_IGNORE_DIRECTORIES=node_modules,vendor,.*,sites/*/files,sites/*/private,sites/simpletest | ||
- DRUPAL_NIGHTWATCH_OUTPUT=reports/nightwatch | ||
- DTT_BASE_URL=http://web | ||
- DTT_MINK_DRIVER_ARGS=[\"chrome\", {\"browserName\":\"chrome\",\"chromeOptions\":{\"w3c\":false,\"args\":[\"--disable-gpu\",\"--headless\", \"--no-sandbox\", \"--disable-dev-shm-usage\"]}}, \"http://selenium-chrome:4444/wd/hub\"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters