Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Refactor Chrome Driver port in browser-tests.yml and DuskTestCase.php

Andras Bacsaicbff462a5a90
diff --git a/.github/workflows/browser-tests.yml b/.github/workflows/browser-tests.yml
index 42627ca811..0c3fdb94ef 100644
--- a/.github/workflows/browser-tests.yml
+++ b/.github/workflows/browser-tests.yml
@@ -44,7 +44,7 @@ jobs:
- name: Install Chrome binaries
run: php artisan dusk:chrome-driver --detect
- name: Start Chrome Driver
- run: ./vendor/laravel/dusk/bin/chromedriver-linux &
+ run: ./vendor/laravel/dusk/bin/chromedriver-linux --port=4444 &
- name: Build assets
run: npm install && npm run build
- name: Run Laravel Server
diff --git a/tests/DuskTestCase.php b/tests/DuskTestCase.php
index 4cde3e9637..d3f7e655c0 100644
--- a/tests/DuskTestCase.php
+++ b/tests/DuskTestCase.php
@@ -39,7 +39,7 @@ abstract class DuskTestCase extends BaseTestCase
})->all());
return RemoteWebDriver::create(
- 'http://localhost:9515',
+ 'http://localhost:4444',
DesiredCapabilities::chrome()->setCapability(
ChromeOptions::CAPABILITY,
$options