Skip to content

Commit

Permalink
Explicitly include --port=9515 when running chromedriver on CI (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone authored Aug 26, 2024
1 parent b9fa924 commit b63370c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dusk.md
Original file line number Diff line number Diff line change
Expand Up @@ -2125,7 +2125,7 @@ To run Dusk tests on [Heroku CI](https://www.heroku.com/continuous-integration),
],
"scripts": {
"test-setup": "cp .env.testing .env",
"test": "nohup bash -c './vendor/laravel/dusk/bin/chromedriver-linux > /dev/null 2>&1 &' && nohup bash -c 'php artisan serve --no-reload > /dev/null 2>&1 &' && php artisan dusk"
"test": "nohup bash -c './vendor/laravel/dusk/bin/chromedriver-linux --port=9515 > /dev/null 2>&1 &' && nohup bash -c 'php artisan serve --no-reload > /dev/null 2>&1 &' && php artisan dusk"
}
}
}
Expand Down Expand Up @@ -2191,7 +2191,7 @@ jobs:
- name: Upgrade Chrome Driver
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=9515 &
- name: Run Laravel Server
run: php artisan serve --no-reload &
- name: Run Dusk Tests
Expand Down

0 comments on commit b63370c

Please sign in to comment.