Skip to content

Commit

Permalink
Refactor Chrome Driver port in browser-tests.yml and DuskTestCase.php
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Oct 17, 2024
1 parent 8e8752a commit cbff462
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/browser-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/DuskTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ protected function driver(): RemoteWebDriver
})->all());

return RemoteWebDriver::create(
'http://localhost:9515',
'http://localhost:4444',
DesiredCapabilities::chrome()->setCapability(
ChromeOptions::CAPABILITY,
$options
Expand Down

0 comments on commit cbff462

Please sign in to comment.