|
|
@ -32,7 +32,7 @@ export default defineConfig({ |
|
|
|
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ |
|
|
|
use: { |
|
|
|
/* Base URL to use in actions like `await page.goto('/')`. */ |
|
|
|
baseURL: "http://localhost:8081", |
|
|
|
baseURL: "http://localhost:8080", |
|
|
|
|
|
|
|
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ |
|
|
|
trace: "retain-on-failure" |
|
|
@ -106,8 +106,8 @@ export default defineConfig({ |
|
|
|
*/ |
|
|
|
webServer: { |
|
|
|
command: |
|
|
|
"VITE_APP_SERVER=http://localhost:8081 VITE_DEFAULT_ENDORSER_API_SERVER=http://localhost:3000 VITE_DEFAULT_PARTNER_API_SERVER=http://localhost:3000 VITE_DEFAULT_IMAGE_API_SERVER=https://test-image-api.timesafari.app VITE_PASSKEYS_ENABLED=true npm run build:web -- --port=8080", |
|
|
|
url: "http://localhost:8081", |
|
|
|
"VITE_APP_SERVER=http://localhost:8080 VITE_DEFAULT_ENDORSER_API_SERVER=http://localhost:3000 VITE_DEFAULT_PARTNER_API_SERVER=http://localhost:3000 VITE_DEFAULT_IMAGE_API_SERVER=https://test-image-api.timesafari.app VITE_PASSKEYS_ENABLED=true npm run build:web -- --port=8080", |
|
|
|
url: "http://localhost:8080", |
|
|
|
reuseExistingServer: !process.env.CI, |
|
|
|
}, |
|
|
|
}); |
|
|
|