test(daemon): pin that the first click after an unobservable iOS open taps the settled point
Summary
Adds an end-to-end regression test for #3354. The existing test in #3356 only shows that the screen read settles. This one shows that the tap goes where the target settled.
The test runs the real daemon open com.apple.Preferences route. It checks that the response reports timing.postOpenObservation: "unobservable", then runs click 'label="General"'. The scripted iOS runner serves General at y=319, then at y=406 twice. The test asserts that the one tap the runner receives is at (201, 428), the centre of the settled cell. assertComplete() confirms that the click used all three reads, with no extra read before or after the tap.
Test-only: ios-world.ts gains createIosSettledClickWorld, and ios-lifecycle.test.ts gains the test.
Validation
- Commenting out the
markPostOpenStabilizationcall insession-open-execution.tsmakes the test fail. The tap goes to y=341, the centre of the stale cell, instead of y=428. pnpm check:affected --runpassed on7ba8865b6.
🤖 Generated with Claude Code