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
Commit 14f5c0f
Browse filesBrowse the repository at this point in the historyBrowse files
feat(ios): publish the presented surface on every iOS capture (#3565)
Have both iOS capture routes answer the fact beside the tree they return.
The engine classifies the acquired tree once and publishes the answer on the
acquisition's publication, so it travels through the runtime projection and reaches a
raw capture, an interactive capture, a depth-cut capture, and a scoped capture of one
screen as the same value. Completeness comes from the producer's own truncation
statement and is never inferred from the tree: a producer that reports nothing about
truncation has stated nothing, and the classifier may not read a silent field as
"complete".
The XCTest runner classifies its pre-presentation acquisition and stamps the answer on
the payload it returns, which is the only reading a runner-declared capture can carry —
that tier publishes no UIKit class names, so its honest answer is `presented` or
`unknown` and never `absent`.
Copy file name to clipboardExpand all lines: apple/runner/AgentDeviceRunner/AgentDeviceRunnerUITests/UnitTests/RunnerTests+SnapshotCapturePlanTests.swift
+77-10Lines changed: 77 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -269,24 +269,91 @@ extension RunnerTests {
269
269
XCTAssertNil(payload.qualityPayload?.scope)
270
270
}
271
271
272
+
/// The classification has to happen on the acquisition a tier read, not on the presentation the tier
273
+
/// returns, and survive onto the response envelope. This drives the production assembly function with a
274
+
/// tree that keeps only what the runner's own AX tier publishes — no UIKit class names, an element type
275
+
/// the runner's name table cannot spell — and asks for a capture that dropped every node the acquisition
276
+
/// held. Deleting the classification, or reading the presented tree instead of the acquired one, fails
0 commit comments