-
Notifications
You must be signed in to change notification settings - Fork 2
feat: 로그인 후 리다이렉트 대상을 대시보드로 변경 #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: Siul49/moim
Length of output: 83
🏁 Script executed:
Repository: Siul49/moim
Length of output: 37
🏁 Script executed:
Repository: Siul49/moim
Length of output: 86
🏁 Script executed:
Repository: Siul49/moim
Length of output: 612
🏁 Script executed:
Repository: Siul49/moim
Length of output: 86
🏁 Script executed:
Repository: Siul49/moim
Length of output: 73
🏁 Script executed:
Repository: Siul49/moim
Length of output: 73
🏁 Script executed:
Repository: Siul49/moim
Length of output: 591
🏁 Script executed:
# host-flow.spec.ts 전체 코드 읽기 (파일 크기 확인 후) wc -l e2e/host-flow.spec.tsRepository: Siul49/moim
Length of output: 81
🏁 Script executed:
# dashboard/page.tsx 구현 확인 cat src/app/dashboard/page.tsxRepository: Siul49/moim
Length of output: 734
🏁 Script executed:
# host-flow.spec.ts 전체 코드 읽기 (127줄) cat e2e/host-flow.spec.tsRepository: Siul49/moim
Length of output: 4420
/dashboard 대기 후 바로 네비게이션 — 현 코드는 안전하나 방어적 로드 확인 추가 권장.
L81-82의 패턴 자체는 안전합니다.
dashboard/page.tsx는 리다이렉트 로직 없는 서버 컴포넌트이고,waitForURL완료는 리다이렉트 및 페이지 로드 시작을 의미하므로 L82의goto와 충돌하지 않습니다. 다만 L83의waitFor앞에 명시적 로드 상태 확인을 추가하면 더욱 견고합니다.Why: E2E 테스트 안정성 및 Playwright 모범 사례 (네트워크 유휴 상태 보장)
How: 페이지 요소 대기 전에 로드 완료 확인
await page.waitForURL("**/dashboard", { timeout: 60000 }); await page.goto("/schedule/create"); + const titleInput = page.getByLabel("모임 제목"); -await titleInput.waitFor({ state: "visible", timeout: 15000 }); +await page.waitForLoadState("networkidle"); +await titleInput.waitFor({ state: "visible", timeout: 15000 });🤖 Prompt for AI Agents