try to add e2e job
This commit is contained in:
4
client/playwright.config.ts
vendored
4
client/playwright.config.ts
vendored
@@ -69,7 +69,9 @@ export default defineConfig({
|
||||
],
|
||||
|
||||
webServer: {
|
||||
command: 'rm -f AdGuardHome.yaml && sudo ./AdGuardHome --local-frontend -v',
|
||||
command: process.env.CI
|
||||
? 'rm -f AdGuardHome.yaml && ./AdGuardHome --local-frontend -v'
|
||||
: 'rm -f AdGuardHome.yaml && sudo ./AdGuardHome --local-frontend -v',
|
||||
url: 'http://127.0.0.1:3000',
|
||||
cwd: '..',
|
||||
reuseExistingServer: !process.env.CI,
|
||||
|
||||
Reference in New Issue
Block a user