You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
iOS: the XCTest snapshot names a picker wheel Element(39) where the Simulator AX bridge names it PickerWheel (the runner's type table lacks 50 public element types) #4657
The two iOS snapshot producers give one node two different type values. The host AX bridge names every XCUIElement.ElementType raw value. The XCTest runner names 32 of them and publishes the others as Element(<rawValue>). A selector or a consumer that keys on the type works under one backend and fails under the other. The backend is chosen by agent-device per capture (for example, after remote-content-boundary the rest of the app generation uses XCTest), so a caller cannot pin it.
Environment
agent-device 0.21.37 for the frames below. Both tables are unchanged at v0.21.39 and on main at 655ede279.
macOS 27.2.1, Xcode 27.2, iPhone Simulator iOS 27.2, language fr-FR.
App: a production iOS app with a picker wheel in a sign-up form.
Reproduction
The same picker on the same screen, same rect, in two runs of one test case (snapshot --json):
snapshotDiagnostics.stats.backends names the producer of each capture. The label also differs between the two captures of this node.
Cause (source at v0.21.39)
RunnerTests+Snapshot.swift:80-117: elementTypeNamesByRawValue holds 30 public cases plus Keyboard and Key; any other raw value becomes Element(<rawValue>). Missing, among others: Group (3), Sheet (5), Alert (7), Dialog (8), PopUpButton (14), StatusBar (25), PageIndicator (34), PickerWheel (39), DatePicker (51), Menu (53), Map (57), Tab (80).
Activity
thymikee commentedon Nov 21, 2026
An agent is picking this up; the PR will link here.
fix(contracts): keep a scroll indicator out of the scrollable types
fix(snapshot): name every iOS element type in the XCTest runner (#4897)