Skip to content

Commit

Permalink
Fix L9 tests due to Dusk 7 not supporting Chrome > 126
Browse files Browse the repository at this point in the history
  • Loading branch information
ifox authored Oct 14, 2024
1 parent 2b87139 commit 60db99b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,16 +155,19 @@ jobs:
env:
CACHE_STORE: array

- name: Upgrade Chrome
- name: Upgrade Chrome (Laravel 9)
if: matrix.laravel == '9.*'
uses: browser-actions/setup-chrome@latest
with:
chrome_version: 126

- name: Upgrade Chrome
if: matrix.laravel != '9.*'
uses: browser-actions/setup-chrome@latest

- name: Upgrade Chrome Driver
run: ./vendor/bin/testbench dusk:chrome-driver --detect

- name: Downgrade Chrome Driver to 126 for Laravel 9
if: matrix.laravel == '9.*'
run: ./vendor/bin/testbench dusk:chrome-driver 126

- name: Prepare Testbench Dusk
run: ./vendor/bin/testbench-dusk package:discover

Expand Down

0 comments on commit 60db99b

Please sign in to comment.