XCTest Nightly: two panel-fixture tests find no Button on the CI runtime

Đang mở
#4,262 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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
62/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
ios, typescript
Lĩnh vực
mobile, testing

Hướng nghiên cứu

Start with RunnerRequestPanelTests.swift:84 and inspect the panel fixture and waits used by RunnerTests.testLitPanelBookingAndCoordinateFallbackShareScreenPointsForPartialWindows and RunnerTests.testPlacedIPadWindowDispatchUsesTheMeasuredSoleDisplay. Reproduce the missing Button on the iOS 26.2 CI runtime and compare it with iOS 27.1 locally to identify whether layout, timing, or runtime behavior differs. Done means both tests pass in the XCTest Nightly iPhone full suite and on a current runtime, without skipping either.

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

Mô tả

bug ready-for-agent

Purpose

XCTest Nightly fails on two panel-fixture tests, separately from #4212. They failed on 2026-11-05 and again on 2026-11-06 (run 42163259459).

Current behavior

Both tests fail at the same fixture step:

  • RunnerTests.testLitPanelBookingAndCoordinateFallbackShareScreenPointsForPartialWindows
  • RunnerTests.testPlacedIPadWindowDispatchUsesTheMeasuredSoleDisplay

They fail at RunnerRequestPanelTests.swift:84 with No matches found for Descendants matching type Button: the panel fixture's button isn't found.

Both pass locally on an iPhone Air simulator with iOS 27.1. CI's nightly runs iOS 26.2. That points to a fixture or layout difference on iOS 26.2 rather than to the lit-panel logic, but this is unconfirmed.

Required behavior

  • Find out why the panel fixture's button is missing on the CI runtime: the fixture's layout, a timing wait, or a runtime difference.
  • Fix the fixture or the wait so both tests pass on iOS 26.2 and on current runtimes. Don't skip either test.

Completion conditions

  • Both tests pass in the XCTest Nightly iPhone full suite.
  • Both still pass on a current runtime locally.

Dependencies

None. #4212 fixes the other nightly failure; once both land, XCTest Nightly should be green.

Ngôn ngữ chính
TypeScript
Star
5.3k
Fork
377
Merge trung bình
14 giờ 6 phút
Pull request đã merge (30 ngày)
650

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.