개선관리 요구사항과 Google 로그인을 완료
This commit is contained in:
parent
cc0a15b7c6
commit
2a39636163
112 changed files with 10166 additions and 527 deletions
|
|
@ -8,6 +8,7 @@ const publicStorageState = process.env.E2E_PUBLIC_STORAGE_STATE;
|
|||
const includePublicAuth = process.env.E2E_PUBLIC_AUTH === "1";
|
||||
const shouldStartWebServer =
|
||||
!includePublicAuth && !process.env.PLAYWRIGHT_BASE_URL && !process.env.PLAYWRIGHT_SKIP_WEB_SERVER;
|
||||
const reuseExistingServer = process.env.PLAYWRIGHT_REUSE_EXISTING_SERVER === "1";
|
||||
const singleRunPattern = /@single-run/;
|
||||
const publicAuthPattern = /@public-auth/;
|
||||
const localProjectExclusions = /@single-run|@public-auth/;
|
||||
|
|
@ -37,9 +38,13 @@ export default defineConfig({
|
|||
},
|
||||
webServer: shouldStartWebServer
|
||||
? {
|
||||
command: `npm run dev -- --host ${host} --port ${port}`,
|
||||
// npm 11 + Windows PowerShell에서는 공백형 값이 npm 옵션으로 다시 파싱돼
|
||||
// `vite localhost 5174`처럼 위치 인자로 깨질 수 있다. 등호형으로 Vite에 고정한다.
|
||||
command: `npm run dev -- --host=${host} --port=${port}`,
|
||||
url: baseURL,
|
||||
reuseExistingServer: !process.env.CI,
|
||||
// 공개 preview나 다른 checkout의 stale bundle을 로컬 GREEN으로 오인하지 않는다.
|
||||
// 의도적으로 같은 dev server를 공유할 때만 명시적으로 opt in 한다.
|
||||
reuseExistingServer,
|
||||
timeout: 120_000,
|
||||
env: {
|
||||
VITE_API_BASE: process.env.VITE_API_BASE ?? "/api",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue