XCTest nightly: in-app back on the sole screen flakes with changed=yes

Đang mở
#4,322 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cypress, ios, typescript
Lĩnh vực
mobile, testing-qa

Hướng nghiên cứu

Start with RunnerTests+NavigationTests.swift:65 and inspect the IN_APP_BACK_VISUAL_VERIFICATION capture comparison and the sole-screen test fixture. Compare consecutive captures to identify what changed after the tap, then determine whether the verification or fixture owns the fix. Done means the root cause is fixed with a deterministic test, or the test passes in five consecutive XCTest Nightly iPhone runs.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

Purpose

testInAppBackOnTheSoleScreenReportsATapThatChangedNothingAsUnavailable fails intermittently in the XCTest Nightly iPhone leg on iOS 26.2.

Current behavior

The test fails at RunnerTests+NavigationTests.swift:65: "a top-leading tap on an app without a back control must not read as performed". The runner logs IN_APP_BACK_VISUAL_VERIFICATION … changed=yes. So two real screen captures differed after a tap that should change nothing.

Runs:

  • main nightly 42338987297 (2026-11-07): failed.
  • #4320 nightly 42390630488: passed.
  • #4320 nightly 42394725350: failed, the only failure in 665 tests.

Required behavior

  • Find what differs between the two captures, for example a status bar clock, a cursor blink, a transient overlay or an animation still settling.
  • Make the visual verification ignore changes that a tap cannot cause, or make the test fixture static. Fix it at the owner: the verification if it misreads product behavior, or the fixture if the test is the problem.
  • Don't retry the test or skip it.

Completion conditions

  • The test passes in 5 consecutive XCTest Nightly iPhone runs, or the root cause is shown and fixed with a deterministic test.
Ngôn ngữ chính
TypeScript
Star
5.3k
Fork
377
Merge trung bình
13 giờ 58 phút
Pull request đã merge (30 ngày)
654

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của callstack/agent-device

Tất cả issue của callstack/agent-device

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.