Feat/playwright test#424
Merged
Merged
Conversation
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.
배경
변경 사항
1) Playwright 기능 E2E 도입
apps/admin/e2e/functional/auth-routing.e2e.spec.tsapps/admin/e2e/functional/prequestion-response-flow.e2e.spec.tsapps/admin/e2e/functional/settlement-request-flow.e2e.spec.tsapps/admin/playwright.config.tstest:e2etest:e2e:functionaltest:e2e:ui2) MSW 기반 E2E mock 환경 구축
apps/admin/public/mockServiceWorker.jsapps/admin/src/mocks/handlers.tsapps/admin/src/mocks/browser.tsapps/admin/e2e/helpers/msw.tsapps/admin/src/main.tsxapps/admin/src/vite-env.d.tsapps/admin/vite.config.ts3) 통합 테스트 추가
apps/admin/src/pages/HomePage/HomePage.integration.test.tsxapps/admin/src/pages/Landing/Landing.integration.test.tsxapps/admin/src/components/ShowPreQuestion/ResponseTab/ResponseTab.integration.test.tsxapps/admin/src/App.auth-routing.integration.test.tsx4) 라우팅 테스트 구조 최적화
PrivateRoute를 분리해 테스트 가능성 향상apps/admin/src/routes/PrivateRoute.tsxapps/admin/src/App.tsxauth-routingE2E는 스모크 1개만 유지검증
yarn workspace admin type-check통과yarn workspace admin test App.auth-routing.integration.test.tsx통과yarn workspace admin test:e2e:functional통과yarn workspace admin test:e2e:functional --grep "Auth routing guard"통과참고
의존성/환경 반영으로 아래 파일도 함께 변경되었습니다.
.pnp.cjsyarn.lockapps/admin/.gitignore