Repository navigation
test: hold the hidden pane parked and attached in the program copy test - #2225
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.
Related: #2216
Summary
#2216의 숨은 패널 시험이 실제로는 숨은 패널을 지워 버려, "없는 패널"을 두 번 시험하고 있었습니다.
이제 시험은 숨은 패널을 core가 계속 보내는 상태(attached)로 두고 화면 밖에 세워 둔 채(parked) 확인합니다: 그 패널은 남아 있지만 화면에 없고, 그 복사는 클립보드에 쓰이지 않습니다.
제품 동작은 바뀌지 않습니다.
스크린샷 없음: 시험 파일만 바뀌고 화면은 그대로입니다.
Review
web/src/clipboard.test.ts- store의terminal.panes에 두 패널을 attached로 넣어, 숨은 패널이 detach 때 dispose되지 않고liveTerminalIds에 남는지.Evidence
liveTerminalIds()에 숨은 패널이 남고terminalShown이 보이는/숨은/없는 패널에 true/false/false; 그 상태에서 숨은·없는 패널의 복사는 거절, 보이는 패널만 써짐. vitest 3개 통과, eslint.Verification record