You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.7 KiB
30 lines
1.7 KiB
#ddev-generated |
|
# Remove the line above if you don't want this file to be overwritten when you run |
|
# ddev get ddev/ddev-selenium-standalone-chrome |
|
# |
|
# This file comes from https://github.com/ddev/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\",\"goog:chromeOptions\":{\"w3c\":true,\"args\":[\"--disable-dev-shm-usage\",\"--disable-gpu\",\"--headless\",\"--dns-prefetch-disable\"]}}, \"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_WEBDRIVER_W3C=true |
|
- DRUPAL_TEST_WEBDRIVER_CHROME_ARGS=--disable-dev-shm-usage --disable-gpu --headless --dns-prefetch-disable |
|
- 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 |
|
- DTT_BASE_URL=http://web |
|
- DTT_MINK_DRIVER_ARGS=[\"chrome\", {\"browserName\":\"chrome\",\"goog:chromeOptions\":{\"w3c\":true,\"args\":[\"--disable-dev-shm-usage\",\"--disable-gpu\",\"--headless\",\"--dns-prefetch-disable\"]}}, \"http://selenium-chrome:4444/wd/hub\"]
|
|
|