Skip to content

Commit

Permalink
chore: update hosting port from 5000 to 5001 for playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
KenLSM committed Oct 31, 2023
1 parent 4c6f389 commit 4c417f7
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion __tests__/setup/.test-env
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions playwright.config.ts
Original file line number Diff line number Diff line change
@@ -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,
},
2 changes: 1 addition & 1 deletion src/app/config/schema.ts
Original file line number Diff line number Diff line change
@@ -296,7 +296,7 @@ export const optionalVarsSchema: Schema<IOptionalVarsSchema> = {
port: {
doc: 'Application Port',
format: 'port',
default: 5000,
default: 5001,
env: 'PORT',
},
otpLifeSpan: {

0 comments on commit 4c417f7

Please sign in to comment.