Client:Packages:Login: Some fixes
This commit is contained in:
parent
4517ebe901
commit
b7a0551cc3
@ -12,7 +12,7 @@
|
||||
"clean": "shx rm -rf .next",
|
||||
"deploy": "shx --silent mkdir -p ../../../publish/web/login && shx --silent mkdir -p ../../../publish/web/login/.next && shx --silent mkdir -p ../../../publish/web/login/node_modules && shx --silent mkdir -p ../../../publish/web/login/.next/static && shx cp -r .next/standalone/node_modules/* ../../../publish/web/login/node_modules && shx cp -r .next/static/* ../../../publish/web/login/.next/static && shx cp -r .next/standalone/packages/login/.next/* ../../../publish/web/login/.next && shx cp -f server.prod.js ../../../publish/web/login/server.js",
|
||||
"test:build": "node ./scripts/buildTranslations.js && TEST=true next build",
|
||||
"test:start": "NODE_ENV=production TEST=true node server.js",
|
||||
"test:start": "NODE_ENV=development TEST=true node server.js",
|
||||
"test:e2e": "npx playwright test",
|
||||
"test:e2e:ui": "npx playwright test --ui"
|
||||
},
|
||||
|
@ -25,7 +25,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://127.0.0.1:3000',
|
||||
baseURL: "http://127.0.0.1:5111",
|
||||
|
||||
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
|
||||
trace: "on-first-retry",
|
||||
@ -71,7 +71,8 @@ export default defineConfig({
|
||||
|
||||
/* Run your local dev server before starting the tests */
|
||||
webServer: {
|
||||
command: "yarn test:build && yarn test:start",
|
||||
port: 5011,
|
||||
command: "yarn test:start",
|
||||
port: 5111,
|
||||
timeout: 1000 * 60 * 5,
|
||||
},
|
||||
});
|
||||
|
@ -30,7 +30,7 @@ const next = require("next");
|
||||
|
||||
const dev = process.env.NODE_ENV === "development";
|
||||
|
||||
const port = 5011;
|
||||
const port = 5111;
|
||||
const hostname = "0.0.0.0";
|
||||
|
||||
// when using middleware `hostname` and `port` must be provided below
|
||||
|
Loading…
Reference in New Issue
Block a user