Repository navigation
Pick the second server by port order in the server picker spec - #1216
Merged
Merged
Conversation
The picker lists listeners by port, and each fixture server takes a port the system chooses, so the second server is last only when its port is the higher one. The spec pressed End and expected the second server, and failed both tries on main's push run for b101aa9 whenever the second port came out lower.
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: #1185
Summary
main의 push 검사가 b101aa9(#1199 머지)에서 빨갛게 됐습니다.
원인은 #1185가 새로 넣은
web/e2e/server-ports.spec.ts입니다.서버 고르기 목록은 포트 번호 순인데, 스펙은 두 번째로 띄운 서버가 늘 맨 아래라고 보고 End를 눌렀습니다.
포트는 시스템이 정하므로 두 번째 포트가 더 작으면 매번 실패합니다(대략 절반).
스펙이 포트 순서를 보고 End 또는 Home으로 두 번째 서버를 고르게 고쳤습니다. 제품 코드는 그대로입니다.
Review
web/src/RunningServers.tsx의 정렬).Evidence