From eab0097033eee7e62af61639d6fe5a081117a145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20H=C3=B8egh?= Date: Mon, 7 Oct 2024 20:48:43 +0200 Subject: [PATCH] Use port 8080 --- packages/dnb-design-system-portal/package.json | 4 ++-- packages/dnb-design-system-portal/playwright.config.ts | 2 +- packages/dnb-eufemia/package.json | 2 +- packages/dnb-eufemia/playwright.config.ts | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/dnb-design-system-portal/package.json b/packages/dnb-design-system-portal/package.json index 7a76e31e8e6..0df00129be6 100644 --- a/packages/dnb-design-system-portal/package.json +++ b/packages/dnb-design-system-portal/package.json @@ -25,12 +25,12 @@ "prettier:package:write": "prettier-package-json --write ./package.json", "prettier:write": "prettier --log-level warn --write '**/*.{md,mdx,js,ts,tsx}'", "reset": "yarn clean && rm -rf ./node_modules", - "serve": "gatsby serve -p 8000", + "serve": "gatsby serve --port=8000", "start": "cross-env NODE_OPTIONS=--max-old-space-size=8192 gatsby develop", "test": "jest", "test:ci": "jest --ci --passWithNoTests", "test:e2e:portal": "yarn playwright test", - "test:e2e:portal:ci": "start-server-and-test serve http://localhost:8000 test:e2e:portal", + "test:e2e:portal:ci": "start-server-and-test serve http://localhost:8080 test:e2e:portal", "test:e2e:portal:watch": "playwright test --ui", "test:screenshots": "yarn workspace @dnb/eufemia test:screenshots", "test:screenshots:ci": "start-server-and-test serve http://localhost:8000 'yarn workspace @dnb/eufemia test:screenshots:ci'", diff --git a/packages/dnb-design-system-portal/playwright.config.ts b/packages/dnb-design-system-portal/playwright.config.ts index 8d7680dddf9..2e21fcb6ecc 100644 --- a/packages/dnb-design-system-portal/playwright.config.ts +++ b/packages/dnb-design-system-portal/playwright.config.ts @@ -8,7 +8,7 @@ export default defineConfig({ use: { // Base URL to use in actions like `await page.goto('/')`. - baseURL: 'http://localhost:8000', + baseURL: 'http://localhost:8080', // Name of the browser that runs tests. For example `chromium`, `firefox`, `webkit`. browserName: 'firefox', diff --git a/packages/dnb-eufemia/package.json b/packages/dnb-eufemia/package.json index a4db30b5ca9..04e6baf7d09 100644 --- a/packages/dnb-eufemia/package.json +++ b/packages/dnb-eufemia/package.json @@ -79,7 +79,7 @@ "test:auto-generated-types": "yarn jest ./postTypeGeneration.test.ts --ci --testPathIgnorePatterns=[]", "test:ci": "yarn jest --ci", "test:e2e": "yarn playwright test", - "test:e2e:ci": "start-server-and-test 'yarn workspace dnb-design-system-portal serve' http://localhost:8000 test:e2e", + "test:e2e:ci": "start-server-and-test 'yarn workspace dnb-design-system-portal serve --port=8080' http://localhost:8080 test:e2e", "test:e2e:watch": "playwright test --ui", "test:postbuild": "yarn jest ./postbuild.test.ts --ci --testPathIgnorePatterns=[]", "test:screenshots": "yarn jest --config=./jest.config.screenshots.js --maxWorkers=1 --detectOpenHandles --testPathPattern ", diff --git a/packages/dnb-eufemia/playwright.config.ts b/packages/dnb-eufemia/playwright.config.ts index 3f1d7004c47..be7ddf79332 100644 --- a/packages/dnb-eufemia/playwright.config.ts +++ b/packages/dnb-eufemia/playwright.config.ts @@ -9,7 +9,7 @@ export default defineConfig({ use: { // Base URL to use in actions like `await page.goto('/')`. - baseURL: 'http://localhost:8000', + baseURL: 'http://localhost:8080', // Name of the browser that runs tests. For example `chromium`, `firefox`, `webkit`. browserName: 'firefox',