should fix admin e2e test
This commit is contained in:
parent
0b27da21ac
commit
ab34412a2e
4 changed files with 17 additions and 15 deletions
|
|
@ -1,7 +1,7 @@
|
|||
/* global process */
|
||||
import { defineConfig, devices } from 'playwright/test'
|
||||
|
||||
const baseURL = process.env.E2E_BASE_URL || 'http://localhost:8080'
|
||||
const baseURL = process.env.E2E_BASE_URL || 'http://localhost:8099'
|
||||
|
||||
export default defineConfig({
|
||||
testDir: './specs',
|
||||
|
|
@ -25,12 +25,14 @@ export default defineConfig({
|
|||
video: 'retain-on-failure',
|
||||
},
|
||||
webServer: {
|
||||
command: 'yarn dev -- --host 0.0.0.0 --port 8080 --strictPort',
|
||||
command: 'yarn dev -- --host 0.0.0.0 --strictPort',
|
||||
url: baseURL,
|
||||
reuseExistingServer: !process.env.CI,
|
||||
timeout: 120_000,
|
||||
env: {
|
||||
...process.env,
|
||||
PORT:
|
||||
process.env.PORT || '8099',
|
||||
VITE_PROXY_TARGET:
|
||||
process.env.VITE_PROXY_TARGET || 'http://localhost:4000',
|
||||
VITE_PROXY_ORIGIN:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue