From fc3e08a6675aa489293e798e66a02cb934e8990e Mon Sep 17 00:00:00 2001 From: Lahfir Date: Sat, 18 Jul 2026 23:43:00 -0700 Subject: [PATCH] test: give ffi consumer targets accessibility identifiers The FFI live driver addresses its AE2 targets by native_id per the R4 identity spine, but the fixture's async buttons only ever set accessibility labels, so ref_for could never match and both release-FFI AE2 checks failed on every live run. These checks were unreachable until the zero-bounds abort was fixed, which is why no prior run surfaced it. Assign identifiers to exactly the three buttons the FFI consumer addresses; name-based CLI paths are unaffected. --- tests/fixture-app/FixtureAsync.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/fixture-app/FixtureAsync.swift b/tests/fixture-app/FixtureAsync.swift index d9acb30..6f75791 100644 --- a/tests/fixture-app/FixtureAsync.swift +++ b/tests/fixture-app/FixtureAsync.swift @@ -16,9 +16,11 @@ struct AsyncFixtureCard: View { } } .accessibilityLabel("enable-later") + .accessibilityIdentifier("enable-later") Button("Delayed Button") { delayedActionCount += 1 } .disabled(!delayedEnabled) .accessibilityLabel("delayed-button") + .accessibilityIdentifier("delayed-button") StatusReadout(name: "delayed-text", value: delayedText) StatusReadout(name: "delayed-action-status", value: String(delayedActionCount)) @@ -28,6 +30,7 @@ struct AsyncFixtureCard: View { delayedActionCount = 0 } .accessibilityLabel("reset-delayed-button") + .accessibilityIdentifier("reset-delayed-button") Button("Permanently Disabled") { delayedActionCount += 100 } .disabled(true)