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

已關閉
#4,262 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

已經有一個關聯 PR 被合併了。

  • #4320 來自 @thymikee —— 已合併

評估

難度
3/5
預估耗時
1-2 天
新手友好度
62/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
ios, typescript
領域
mobile, testing

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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.

主要語言
TypeScript
星號
5.3k
分支
377
平均合併
14 小時 24 分鐘
30 天內合併 PR
675

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

callstack/agent-device 的其他 Issue

查看 callstack/agent-device 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。