Skip to content

Commit

Permalink
Test selenium/standalone-chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
aapomm committed Feb 14, 2024
1 parent 53c35d9 commit 635bb65
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,18 @@ jobs:
runs-on: ubuntu-latest
env:
RAILS_ENV: test
REMOTE_DRIVER: http://localhost:9515/wd/hub
REMOTE_DRIVER: http://selenium:4444/wd/hub

services:
selenium:
image: selenium/standalone-chrome:latest
ports:
- 4444:4444
options: --shm-size="2g"

steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup chromedriver
uses: nanasess/setup-chromedriver@v2
with:
chromedriver-version: '120.0.6099.109'
- name: Run chromedriver
run: |
export DISPLAY=:99
chromedriver --url-base=/wd/hub &
- name: Create database.yml
run: cp config/database.yml.template config/database.yml
- name: Install Ruby and gems
Expand Down

0 comments on commit 635bb65

Please sign in to comment.