Skip to content

Commit 95703af

Browse files
committedJun 15, 2023
Test newer chromedriver image
1 parent f1f23b5 commit 95703af

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed
 

‎.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
TEST_SITE_ADMIN_USERNAME: admin
8282
TEST_SITE_ADMIN_PASSWORD: admin
8383
CHROMEDRIVER_HOST: chromedriver
84-
CHROMEDRIVER_PORT: 9515
84+
CHROMEDRIVER_PORT: 4444
8585
XDEBUG_MODE: coverage
8686
C3_URL: http://wordpress.test/wp-content/plugins/disable-media-pages/disable-media-pages.php?
8787

‎docker-compose.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ services:
3939
- ./:/var/www/html/wp-content/plugins/disable-media-pages
4040

4141
db:
42-
image: mysql:5.7
42+
image: mariadb:10.5.8
4343
restart: always
4444
environment:
4545
MYSQL_DATABASE: exampledb
@@ -50,15 +50,11 @@ services:
5050
volumes:
5151
- db:/var/lib/mysql
5252
chromedriver:
53-
image: selenium/standalone-chrome:112.0-chromedriver-112.0
54-
environment:
55-
CHROMEDRIVER_PORT: 9515
56-
CHROMEDRIVER_WHITELISTED_IPS: ""
57-
CHROMEDRIVER_URL_BASE: /wd/hub
53+
image: seleniarm/standalone-chromium
5854
expose:
59-
- "9515"
55+
- "4444"
6056
privileged: true
61-
shm_size: 1G
57+
shm_size: 2G
6258

6359
volumes:
6460
wordpress:

‎tests/acceptance.suite.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,8 @@ modules:
4242
port: '%CHROMEDRIVER_PORT%'
4343
browser: chrome
4444
capabilities:
45-
'goog:loggingPrefs':
46-
browser: 'ALL'
4745
chromeOptions:
48-
args: [ "--no-sandbox", "--disable-gpu" ]
46+
args: [ "--no-sandbox", "--disable-dev-shm-usage", "--headless", "--disable-setuid-sandbox" ]
4947
WPFilesystem:
5048
wpRootFolder: '%WP_ROOT_FOLDER%'
5149
WPCLI:

0 commit comments

Comments
 (0)
Please sign in to comment.