Skip to content

test: 핵심 사용자 플로우 E2E 추가#39

Merged
Tnalxmsk merged 15 commits intodevelopfrom
test/#27/e2e-test
Feb 23, 2026
Merged

test: 핵심 사용자 플로우 E2E 추가#39
Tnalxmsk merged 15 commits intodevelopfrom
test/#27/e2e-test

Conversation

@Tnalxmsk
Copy link
Contributor

@Tnalxmsk Tnalxmsk commented Feb 23, 2026

Summary

Playwright 기반 E2E 테스트를 도입해 핵심 사용자 플로우(Home -> Apply -> Survey -> Result)에 대한 회귀 방지 장치를 추가했습니다.
로컬에서 pnpm e2e 한 번으로 pass/fail 판단이 가능하며, PR에서는 GitHub Actions로 자동 실행됩니다.

Related Issues

Changes

  • Playwright 설정 추가
    • playwright.config.ts
  • 핵심 사용자 여정 E2E 시나리오 추가
    • e2e/core-user-flow.spec.ts
  • E2E 실행 스크립트 추가
    • package.json (e2e, e2e:headed, e2e:ui)
  • 테스트 산출물 ignore 추가
    • .gitignore (playwright-report, test-results)
  • E2E 모드 플래그 및 테스트 안정화 분기 추가
    • lib/e2e-mode.ts
    • firebase.ts (E2E 모드에서 Firebase 의존 로직 분기)
    • app/apply/components/application-form/application-form.constants.ts (지연 시간 단축)
    • components/auth-guard.tsx (인증 후 지연 시간 단축)
    • app/survey/hooks/useSurveyChat.ts (질문 전환 지연 시간 단축)
  • E2E 실행 문서 추가
    • docs/e2e.md
  • PR 자동 검증용 E2E 워크플로우 추가
    • .github/workflows/e2e.yml (실패 시 report/test-results artifact 업로드)

How To Test

  1. 의존성/브라우저 설치
    • pnpm install
    • pnpm exec playwright install chromium
  2. E2E 실행
    • pnpm e2e
  3. 결과 확인
    • 1 passed 출력 확인
  4. (선택) GUI 모드 실행
    • pnpm e2e:ui

Checklist

  • Title follows the convention (e.g., feat: add global audio seek guard)
  • Build passes locally (pnpm build)
  • No breaking changes, or they are documented below
  • Tests added/updated where appropriate
  • Docs/comments updated where helpful

Breaking Changes (if any)

없음.

Notes For Reviewers

  • E2E는 안정적인 실행을 위해 NEXT_PUBLIC_E2E_TEST_MODE=true 환경에서 동작합니다.
  • 해당 모드에서는 Firebase 의존 로직과 일부 UI 지연 시간이 테스트 친화적으로 분기됩니다.
  • next/font 규칙(모듈 스코프 폰트 로더 호출) 이슈를 반영해 layout 코드를 정리했습니다.
  • Actions 경고/디버깅을 위해 실패 시 Playwright report/test-results를 artifact로 업로드합니다.

Screenshots / Recordings (if UI changes)

해당 없음 (UI 변경 없음).

@vercel
Copy link

vercel bot commented Feb 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
style-me Ready Ready Preview, Comment Feb 23, 2026 8:38am

@Tnalxmsk Tnalxmsk self-assigned this Feb 23, 2026
@Tnalxmsk Tnalxmsk changed the title Test/#27/e2e test test: 핵심 사용자 플로우 E2E 추가 Feb 23, 2026
@Tnalxmsk Tnalxmsk merged commit 7d186fe into develop Feb 23, 2026
4 checks passed
@Tnalxmsk Tnalxmsk deleted the test/#27/e2e-test branch February 23, 2026 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: 핵심 사용자 플로우 E2E 추가 (Home -> Apply -> Survey -> Result)

1 participant