refactor(test): share fixtures and simplify tests - #271
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (6)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughChanges정책 테스트 픽스처를 공용화했습니다. 탈퇴 버튼은 성공 시 직접 온보딩으로 이동하며, 관련 테스트는 이동·캐시·토큰·실패 상태를 검증합니다. 정책 테스트 픽스처 통합
탈퇴 버튼 성공 동작 변경
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~12 minutes Merge Risk: ⚪ Minimal · up to The test refactor and withdrawal-flow update do not leave an actionable current-head risk. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
📝 작업 내용 요약
PolicySummary·PolicyDetailfixture를 공용 테스트 fixture로 통합했습니다.onWithdrawn주입을 제거해 실제 온보딩 이동 동작을 검증하도록 정리했습니다.it.each로 통합하고 탈퇴 실패 시 오류·다이얼로그 유지 동작을 확인하도록 테스트를 정리했습니다.✅ 체크리스트
develop브랜치의 최신 코드를pull받았나요?🤖 AI 리뷰
Claude 리뷰 (사용자 승인으로 생략)
gpt-6-astra; PR 담당: Lunamax.💬 기타 코멘트
develop기준 검증: Turbo 20개 태스크 성공, 웹 Vitest 86개 파일·439개 테스트 통과, Playwright E2E 28개 통과.pre-push훅의test·typecheck도 지정 환경에서 통과했습니다.변경 사항
PolicySummary와PolicyDetail테스트 픽스처를 공용policy및policyDetail팩토리로 통합했습니다.WithdrawalButton에서onWithdrawnprop을 제거했습니다.moveToNewGuestOnboarding()을 호출하도록 변경했습니다.it.each로 통합했습니다.