[Chore]: CI Playwright E2E 테스트 추가 및 Unit 테스트 추가 - #150
Merged
Merged
Conversation
Deploying frontend with
|
| Latest commit: |
a28f50c
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://09b21acc.frontend-74l.pages.dev |
| Branch Preview URL: | https://developer.frontend-74l.pages.dev |
- 리액트 커스텀 훅 기능 테스트를 위한 도입
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[Chore]: CI Playwright E2E 테스트 추가 및 Unit 테스트 추가
추가된 내용 (Description)
main 브랜치에 PR을 올리면, 자동으로 테스트가 작동하는 github action script를 추가했습니다. 또한 error 토스트 알림이 동작하도록 useEffect를 추가하였고, 디버깅을 위한 console.log는 삭제했습니다. E2E 테스트를 위한 CI 설정 및 자동화에서 일어나는 문제를 해결했습니다. (PORT 충돌/preview 실행) 만다라트 대시보드 셀 편집,삭제,입력 테스트가 자동으로 실행됩니다.
만다라트 대시보드 관련한 유닛 테스트를 추가했습니다. 목표 추천 시 작동하는 스트림 실행/종료/이벤트(메세지)를 테스트합니다. 관련하여 입력 검증, 토큰 유무, 주요 목표 유무 등의 유효성 검사를 추가했습니다. 추가적으로 만다라트 대시보드 상태 관리 스토어 함수의 테스트를 작성했습니다.
변경 사항
test script 추가 (main 브랜치에 PR)
대시보드 저장 시 error toast 알림 추가
console.log 삭제
E2E 테스트의 CI 환경 설정 및 CI 환경에서 발생하는 문제 해결
만다라트 대시보드의 입력,삭제,편집 테스트 추가
목표 추천 유닛 테스트 추가
만다라트 대시보드 상태관리 스토어 테스트 추가
왜 변경했는지 (배경/문제점):
사이드 이펙트 / 주의 사항
참고
관련 이슈 번호:
참고 문서/디자인 가이드: