Skip to content

fix: Frontend CI 'No tests found' 해결 — 랜딩 스모크 E2E 추가#31

Merged
trz-21 merged 1 commit into
mainfrom
fix/issue-30-e2e-no-tests
Jun 16, 2026
Merged

fix: Frontend CI 'No tests found' 해결 — 랜딩 스모크 E2E 추가#31
trz-21 merged 1 commit into
mainfrom
fix/issue-30-e2e-no-tests

Conversation

@trz-21

@trz-21 trz-21 commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

문제

Frontend CI의 E2E tests 단계(npx playwright test)가 Error: No tests found로 exit 1 → #20~#29 포함 모든 빌드가 red.

원인: playwright.config.tstestDir: './tests/e2e'가 가리키는 디렉토리가 비어 있어 Playwright가 테스트 0건을 실패로 처리.

변경

  • frontend/tests/e2e/landing.spec.ts 추가 — 공개 랜딩 페이지(/) 스모크 테스트 3건
    • 히어로 카피 + 가입/로그인 CTA 노출
    • 주요 섹션 헤딩(핵심 가치·작동 방식·신뢰할 수 있는 분석·요금제) 렌더
    • 가입 CTA → /register 라우팅
    • 랜딩은 인증/백엔드 불필요 → dev 서버만으로 CI 검증 가능
  • frontend/.gitignore — Playwright 산출물(test-results/ 등) 무시

검증 (로컬)

  • npx tsc --noEmit
  • npm run lint ✓ (No ESLint warnings or errors)
  • npx vitest run ✓ (76 passed)
  • npx playwright test ✓ (3 passed)

Closes #30

playwright testDir(tests/e2e)가 비어 있어 npx playwright test가
exit 1 → 모든 Frontend CI가 red였다. 공개 랜딩 페이지(/)에 대한
백엔드 불필요 스모크 테스트 3건을 추가해 최소 1건 이상의 E2E가
존재하도록 한다. playwright 산출물 디렉토리도 gitignore 처리.

Closes #30

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@trz-21 trz-21 merged commit c002763 into main Jun 16, 2026
1 check passed
trz-21 added a commit that referenced this pull request Jun 16, 2026
Wiki 동기화가 반복 누락된 구조적 원인 2가지를 수정한다.

1. 타이밍: git diff(워킹트리)만 보던 것을 merge-base main...HEAD
   커밋 diff와 합집합으로 확장. 피처 브랜치에서 커밋 후에도 Stop 시
   리마인드가 유지된다(기존엔 커밋되면 diff가 비어 침묵).
2. 범위: frontend/src/features 만 매칭하던 패턴에
   frontend/{app,src/shared} → Frontend, frontend/tests·backend/tests·
   .github/workflows → Harness 추가. #31(tests/e2e)이 탐지 안 되던 문제 해소.

Closes #32

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

Frontend CI 실패: E2E 단계 'No tests found'로 모든 빌드 red

1 participant