Skip to content

Comments

fix(ci): E2E Android step1(첫 tap) 실패 완화#80

Merged
ohah merged 4 commits intomainfrom
feat/e2e-video-recording
Feb 22, 2026
Merged

fix(ci): E2E Android step1(첫 tap) 실패 완화#80
ohah merged 4 commits intomainfrom
feat/e2e-video-recording

Conversation

@ohah
Copy link
Owner

@ohah ohah commented Feb 22, 2026

fix(ci): E2E Android step1(첫 tap) 실패 완화

제목(목적)

E2E Android CI에서 step1(첫 tap) 단계에서 간헐 실패하는 현상을 완화한다.

작업 내용

CI 아티팩트에서 step1-failure(첫 tap 단계 실패)가 발생한 것을 반영해 두 가지를 적용했다. (1) all-steps.yaml: setup의 waitForVisible 다음에 wait 500을 두어 첫 화면 안정화 시간을 주고, steps 첫 스텝을 assertText에서 waitForText('Count: 0', timeout 5000)로 바꿔 초기 상태를 폴링하도록 했다. (2) tap.ts: Android에서도 iOS와 같이 tap 실패 시 1.5초 대기 후 1회 재시도하도록 했다. main 기준 리베이스 후 푸시했다.

- setup 직후 wait 500, 첫 스텝을 waitForText('Count: 0')로 변경해 초기 렌더 안정화
- Android tap 실패 시 1.5초 대기 후 1회 재시도
@ohah ohah self-assigned this Feb 22, 2026
@ohah ohah added the bug Something isn't working label Feb 22, 2026
ohah added 3 commits February 22, 2026 17:26
- e2e-android.yml: 에뮬 기동 후 wm size/density, display, window policy 진단 출력 추가
- e2e-ci-reliability.md: 간헐 실패 공통·플랫폼별 원인 표 및 대응 방법(재시도 등) 정리
- selector, measure, clamped 좌표, screen, tapXY 응답을 console.error로 출력
- E2E CI에서 step1(tap) 실패 원인 수집용
- Android에서 window가 statusBar를 포함하는 경우(screenHeight−windowHeight≈navBar) topInset 0으로 처리해 tap/오버레이 좌표 오류 방지
- getAndroidTopInset → getAndroidInsets(statusBar/navBar/captionBar 파싱), windowIncludesStatusBar 판별 로직 추가
- 런타임 init에 screenHeight/windowHeight 전달, 오버레이는 overlayTopInsetConfirmed일 때만 topInset 적용
- 테스트: _resetTopInsetCache → _resetInsetsCache
@ohah ohah merged commit 5b67122 into main Feb 22, 2026
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant