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.
This commit is contained in:
Lahfir 2026-07-18 23:43:00 -07:00
parent a65d4530a1
commit fc3e08a667

View file

@ -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)