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 Nov 7, 2023
1 parent b1ea692 commit e5db025
Show file tree
Hide file tree
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
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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,
},
Expand Down
2 changes: 1 addition & 1 deletion src/app/config/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ export const optionalVarsSchema: Schema<IOptionalVarsSchema> = {
port: {
doc: 'Application Port',
format: 'port',
default: 5000,
default: 5001,
env: 'PORT',
},
otpLifeSpan: {
Expand Down

0 comments on commit e5db025

Please sign in to comment.