Repository navigation
test: run e2e layout specs and the web shell measure on either engine - #1993
Merged
Merged
Conversation
…fixture and the measure
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.
Summary
웹 e2e와 측정 도구가 Herdr에만 묶여 있어서, 새 엔진(HIDE_DEV_PANE_HOLDER=1)으로는 같은 시험을 돌릴 수 없었습니다.
이제 둘 다 웹 셸이 보내는 hided 이벤트로 탭과 분할을 만들고, 스냅샷으로 확인하므로 엔진을 스위치 하나로 바꿉니다.
HIDE_E2E_ENGINE=herdr|own. 레이아웃 시험(탭, 분할, 확대, 닫기, 다시 열기, 크기 바꾸기) 6개를layout.spec.ts로 모으고, PR CI에 Linux own 엔진 잡 하나를 더했습니다.scripts/web-shell-measure에MEASURE_ENGINE, 이벤트로 만드는 픽스처, 크기 바꾸기 단계, 저장 횟수 관찰, 모든 프로세스를 죽인 뒤 복원 시간 측정을 더했습니다.스크린샷 없음: 화면 변경 없음, 시험과 측정 도구만 바뀜
Review
build hided linux가hide-holder를 더 빌드해 4분 2439초(같은 날 다른 PR 2분 36초)로 약 2분 길어지고, 그만큼 web e2e 레인이 늦게 시작합니다.19초)은 약 12분 걸리는 샤드와 나란히 돌아 벽시계 시간에는 더하지 않습니다.web e2e linux own engine잡(1분 10herdr pane send입력은 쓰지 않습니다.web/e2e/pane-holders.mjs- 실패 경로. 보관 프로그램 끝내기 규칙 한 벌: 상태 폴더의 기록 pid만, 명령줄이 그 기록을 이름하는 동안만 끝내고, 10초 뒤 남거나 그 폴더를 이름하는 프로세스가 있으면 실패합니다. e2e 픽스처는 import하고 측정(run.sh)은node pane-holders.mjs pids|end|left로 부릅니다. 남으면run.sh도 0이 아닌 코드로 끝나 측정 회차가 멈춥니다.web/e2e/hided-control.mjs- 데몬 제어 연결 한 벌. e2e 픽스처와 측정(fixture.mjs,restore.mjs)이 같이 씁니다.until의 read가 던진 오류는 시간 초과로 바뀌지 않고 그대로 실패합니다.scripts/ci-plan.py-hide-holder가 링크하는 크레이트(보관 프로그램, 그 프로토콜,hide-vt,vendor/portable-pty) 변경도 web e2e를 계획합니다. own 잡이 hided 옆의 보관 프로그램을 띄우는데 hided가 그것을 링크하지 않아서입니다..github/workflows/web-e2e.yml- 매트릭스 include로 own 잡을 더함. Herdr 다운로드는 herdr 잡에서만.s2.spec.ts의 분할/포커스 도우미는 마지막 PR이 나머지 spec을 옮길 때 정리. own 잡은 수동 실행의 grep을 무시하고@own만 돕니다.s2.spec.ts의 분할/크기/닫기, 확대 칩, 우클릭 확대는layout.spec.ts로 옮겼고 두 엔진에서 같은 본문으로 돕니다.Evidence
layout.spec.ts6/6 통과, 끝난 뒤 남은 보관 프로그램 0.layout.spec.ts와s2.spec.ts15/15, named-tab-stays, shell, pane-move 16/16 통과.stty가 없어 크기는 PowerShell의 창 크기로 읽습니다. Windows CI에서 크기 시험 통과 확인.scripts/tests전체에서test_verification_builds(macOS 로컬 전용) 1건 실패: main의b9f1deb5f가 release 빌드에hide-holder를 더했는데 시험의 작은 워크스페이스에 그 크레이트가 없음. 이 PR과 무관하고 PR CI에서는 돌지 않습니다.