Fix ChromeDriver version in CI
MODIFY
.github/workflows/tests.yml
.github/workflows/tests.yml
@@ -79,7 +79,7 @@ jobs:
run: php artisan migrate --database=testing
- name: Run Dusk
run: |
- php artisan dusk:chrome-driver
+ php artisan dusk:chrome-driver $(google-chrome -version | awk '{ print $3 }' | cut -d . -f 1)
nohup bash -c './vendor/laravel/dusk/bin/chromedriver-linux > /dev/null 2>&1 &'
nohup bash -c 'php artisan serve > /dev/null 2>&1 &'
php artisan dusk

Fix ChromeDriver version in CI