diff --git a/__tests__/setup/.test-env b/__tests__/setup/.test-env index 1016731644..5a658e54e5 100644 --- a/__tests__/setup/.test-env +++ b/__tests__/setup/.test-env @@ -74,7 +74,7 @@ AWS_SECRET_ACCESS_KEY=fakeSecretAccessKey AWS_ENDPOINT=http://localhost:4566 -APP_URL=http://localhost:5000 +APP_URL=http://localhost:5001 SECRET_ENV=development INTRANET_IP_LIST_PATH=__tests__/setup/mock-intranet-ips.txt diff --git a/playwright.config.ts b/playwright.config.ts index df42a70499..80265bd79b 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -36,7 +36,7 @@ const config: PlaywrightTestConfig = { /* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */ actionTimeout: 0, /* Base URL to use in actions like `await page.goto('/')`. */ - baseURL: 'http://localhost:5000', + baseURL: 'http://localhost:5001', /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ trace: 'on-first-retry', @@ -102,7 +102,7 @@ const config: PlaywrightTestConfig = { webServer: [ { command: 'npm run test:e2e-v2:server', - url: 'http://localhost:5000/analytics/statistics', + url: 'http://localhost:5001/analytics/statistics', timeout: 120 * 1000, reuseExistingServer: !process.env.CI, }, diff --git a/src/app/config/schema.ts b/src/app/config/schema.ts index 5f8cde55c5..b63d1b817e 100644 --- a/src/app/config/schema.ts +++ b/src/app/config/schema.ts @@ -296,7 +296,7 @@ export const optionalVarsSchema: Schema = { port: { doc: 'Application Port', format: 'port', - default: 5000, + default: 5001, env: 'PORT', }, otpLifeSpan: {