Skip to content
This repository was archived by the owner on Apr 17, 2026. It is now read-only.

Commit 85dbd33

Browse files
authored
Merge pull request #169 from localgovdrupal/3.x
3.1.1 release
2 parents 8b3d3d5 + d6be7db commit 85dbd33

3 files changed

Lines changed: 11 additions & 14 deletions

File tree

.ddev/config.selenium-standalone-chrome.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ web_environment:
88
# Use disable-dev-shm-usage instead of setting shm_usage
99
# https://developers.google.com/web/tools/puppeteer/troubleshooting#tips
1010
# The format of chromeOptions is defined at https://chromedriver.chromium.org/capabilities
11-
- 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\"]
12-
# Nightwatch
11+
- MINK_DRIVER_ARGS_WEBDRIVER=[\"chrome\", {\"browserName\":\"chrome\",\"w3c\":false,\"goog:chromeOptions\":{\"args\":[\"--disable-gpu\",\"--headless\", \"--no-sandbox\", \"--disable-dev-shm-usage\"]}}, \"http://selenium-chrome:4444/wd/hub\"] # Nightwatch
1312
- DRUPAL_TEST_BASE_URL=http://web
1413
- DRUPAL_TEST_DB_URL=mysql://db:db@db/db
1514
- DRUPAL_TEST_WEBDRIVER_HOSTNAME=selenium-chrome
@@ -22,4 +21,4 @@ web_environment:
2221
- DRUPAL_NIGHTWATCH_OUTPUT=reports/nightwatch
2322
# DTT
2423
- DTT_BASE_URL=http://web
25-
- 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\"]
24+
- DTT_MINK_DRIVER_ARGS=[\"chrome\", {\"browserName\":\"chrome\",\"w3c\":false,\"goog:chromeOptions\":{\"args\":[\"--disable-gpu\",\"--headless\", \"--no-sandbox\", \"--disable-dev-shm-usage\"]}}, \"http://selenium-chrome:4444/wd/hub\"]

.ddev/docker-compose.selenium-chrome.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
# This file comes from https://github.com/ddev/ddev-selenium-standalone-chrome
22
#
3-
version: '3.6'
43
services:
54
selenium-chrome:
6-
image: seleniarm/standalone-chromium:4.1.4-20220429
5+
image: drupalci/webdriver-chromedriver:production
76
container_name: ddev-${DDEV_SITENAME}-selenium-chrome
87
expose:
98
# The internal noVNC port, which operates over HTTP so it can be exposed

.lando.dist.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ services:
2323
environment:
2424
DRUSH_OPTIONS_ROOT: '/app/web'
2525
DRUSH_OPTIONS_URI: 'https://localgov.lndo.site'
26+
SIMPLETEST_BASE_URL: 'http://localgov.lndo.site'
2627
SIMPLETEST_DB: 'mysql://database:database@database/database'
27-
MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", { "chromeOptions": { "w3c": false } }, "http://chromedriver:4444/wd/hub"]'
28+
MINK_DRIVER_ARGS_WEBDRIVER: '["chrome", {"browserName": "chrome", "goog:chromeOptions": {"args": ["--disable-gpu","--headless", "--no-sandbox", "--disable-dev-shm-usage"]}}, "http://chromedriver:9515"]'
2829
BROWSERTEST_OUTPUT_DIRECTORY: '/app/web/sites/simpletest/browser_output'
29-
BROWSERTEST_OUTPUT_BASE_URL: 'https://localgov.lndo.site'
30+
BROWSERTEST_OUTPUT_BASE_URL: 'http://localgov.lndo.site'
3031
# Support debugging CLI with Xdebug.
3132
PHP_IDE_CONFIG: "serverName=appserver"
3233
XDEBUG_SESSION: "lando"
@@ -57,16 +58,14 @@ services:
5758
- '3050:3050'
5859
chromedriver:
5960
type: compose
61+
scanner: false
6062
services:
61-
image: robcherry/docker-chromedriver:latest
62-
environment:
63-
CHROMEDRIVER_WHITELISTED_IPS: ""
64-
CHROMEDRIVER_URL_BASE: "/wd/hub"
63+
image: drupalci/webdriver-chromedriver:production
64+
ports:
65+
- "9515:9515"
6566
security_opt:
6667
- seccomp:unconfined
67-
expose:
68-
- '4444'
69-
command: ["/usr/local/bin/supervisord", "-c", "/etc/supervisord.conf"]
68+
command: chromedriver --verbose --allowed-ips= --allowed-origins=*
7069
solr-sitewide:
7170
type: solr:8
7271
core: sitewide

0 commit comments

Comments
 (0)