mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
use the already installed chromedriver (#16341)
This commit is contained in:
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -133,10 +133,10 @@ jobs:
|
||||
run: |
|
||||
php lnms dev:simulate --setup-venv
|
||||
-
|
||||
name: Artisan dusk:chrome-driver
|
||||
name: Start ChromeDriver
|
||||
if: matrix.skip-web-check != '1'
|
||||
run: |
|
||||
php artisan dusk:chrome-driver --detect
|
||||
$CHROMEWEBDRIVER/chromedriver --port=9515 &
|
||||
-
|
||||
name: Copy seeded config
|
||||
run: cp "${GITHUB_WORKSPACE}/tests/testing_config.yaml" "${GITHUB_WORKSPACE}/database/seeders/config/"
|
||||
|
@ -20,7 +20,7 @@ abstract class DuskTestCase extends BaseTestCase
|
||||
*/
|
||||
public static function prepare()
|
||||
{
|
||||
if (! static::runningInSail()) {
|
||||
if (! static::runningInSail() && ! getenv('GITHUB_ACTIONS')) {
|
||||
static::startChromeDriver();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user