Skip to content

Commit

Permalink
Merge pull request #1429 from hydephp/upgrade-dusk-chrome-driver
Browse files Browse the repository at this point in the history
Internal: Upgrade Laravel Dusk driver
  • Loading branch information
caendesilva authored Nov 6, 2023
2 parents dba88ca + 877116c commit 00fb664
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 105 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/end-to-end-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,8 @@ jobs:
- name: Prepare the Environment
run: echo -e "APP_URL=http://localhost:8080 \nDUSK_ENABLED=true\nSERVER_DASHBOARD=false" > .env

- name: Downgrade Chrome browser to v114
uses: browser-actions/setup-chrome@v1
with:
chrome-version: 1134343 # Last commit number for Chrome v114
id: setup-chrome
- run: sudo ln -fs ${{ steps.setup-chrome.outputs.chrome-path }} /usr/bin/google-chrome
- name: Downgrade Chrome driver to v114
run: php hyde dusk:chrome-driver `/usr/bin/google-chrome --version | cut -d " " -f3 | cut -d "." -f1`

- name: Upgrade Chrome Driver
run: php hyde dusk:chrome-driver `/opt/google/chrome/chrome --version | cut -d " " -f3 | cut -d "." -f1`
- name: Start Chrome Driver
run: ./vendor/laravel/dusk/bin/chromedriver-linux &

Expand Down
Loading

0 comments on commit 00fb664

Please sign in to comment.