Skip to content

Commit

Permalink
Make setup mink easy to read and update selemium standalone to latest.
Browse files Browse the repository at this point in the history
  • Loading branch information
tannguyen04 committed Aug 6, 2024
1 parent 3a6ea25 commit 6849747
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions behat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,15 @@ default:

extensions:
Drupal\MinkExtension:
browserkit_http: ~
base_url: http://nginx:8080
files_path: '%paths.base%/tests/behat/fixtures'
browser_name: chrome
selenium2:
wd_host: "http://chrome:4444/wd/hub"
sessions:
default:
browserkit_http: ~
selenium2:
selenium2:
browser: 'chrome'
wd_host: "http://chrome:4444/wd/hub"
javascript_session: selenium2
# Provides integration with Drupal APIs.
Drupal\DrupalExtension:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.override.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
services:
chrome:
# Chrome image with Apple M1 support.
image: seleniarm/standalone-chromium:124.0
image: seleniarm/standalone-chromium:latest
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ services:

# Chrome container, used for browser testing.
chrome:
image: selenium/standalone-chrome:127.0
image: selenium/standalone-chrome:latest
shm_size: '1gb' # Increase '/dev/shm' partition size to avoid browser crashing.
<<: *default-volumes # Use default volumes to provide access to test fixtures.
environment:
Expand Down

0 comments on commit 6849747

Please sign in to comment.