Conversation
대댓글은 지금도 동작하지만 그것을 지키는 테스트가 없다. 셀렉터를 조이면 소리 없이 사라지는 자리라 기대값을 먼저 적는다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019T2bcCVRY6d1cr8bbP7vrW
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019T2bcCVRY6d1cr8bbP7vrW
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.
Closes #45
무엇을 바꿨나
buildFixturePage가 댓글마다 대댓글을 받아 원댓글 thread 안에 중첩해 그린다.대댓글이 필요한 댓글만 객체로 넘기고, 문자열로 넘기는 기존 호출은 그대로 둔다.
대댓글 구조는 2026-09-10 실제 시청 페이지에서 확인했다.
src/는 바뀌지 않았다.확인
npm test162개 통과 (기존 159 + 3)npm run test:e2e37개 통과 (기존 32 + 5)합치기 테스트 2개는 첫 커밋부터 통과했다. 이미 동작하던 것이라 이 PR은 회귀만 막는다.
대댓글 테스트 3개는 픽스처에 대댓글이 없어서 실패했고, 픽스처를 고쳐 통과시켰다.
대댓글에 버튼이 달리는 근거는
youtubeComments.js의 셀렉터가 자손 셀렉터라는 것 하나뿐이다.ytd-comment-view-model#comment > #content-text처럼 조이면 대댓글 버튼이 사라지는데,이제 그 순간 이 테스트들이 깨진다.
미확인
없음. 프로덕션 코드가 바뀌지 않아 브라우저에서 볼 것이 없다.
🤖 Generated with Claude Code
https://claude.ai/code/session_019T2bcCVRY6d1cr8bbP7vrW