Commit 7acb2ea1c9

7acb2ea1c90c46730966f6c0f49276ec1701d130

parent: d944bf64f5

Verified · cmc

cmc <hello@cleberg.net> · 2026-10-26 03:54 UTC

Record that the empty-state audits depend on test order

The pre-push hook reported an enforced dynamicType FAIL on EditButton for
the tracked-domains screen while pushing the icons. It is not from that
change: the same test passes with 1 finding against a clean store and
reports 6 with a seeded test ahead of it, because the harness never
resets the app's store between launches.

Recorded rather than fixed, since the fix is a harness change — a launch
argument that wipes the suite's UserDefaults domain — and that would also
let the recent-searches section be audited deliberately instead of by
accident.

Layout: unified · split

Docs/ACCESSIBILITY.txt +20
@@ -184,6 +184,26 @@ These are latent rather than new: nothing in the section changed when Inspect
184184moved to a `List`. They need a seeded recent-searches fixture to be audited
185185properly, which the seed harness does not have.
186186
187## The empty-state screens are not reliably empty
188
189`AccessibilityAuditHarness.launch` only adds launch arguments; it never resets
190the app's store. A `seeded: true` test therefore leaves its fixtures behind, and
191any later non-seeded launch audits a populated app rather than an empty one.
192
193Measured: `testTrackedDomainsScreen` reports 1 finding and passes against a
194clean store, and 6 findings — including an enforced
195`[FAIL][dynamicType]` on `EditButton` — when a seeded test has run before it in
196the same invocation. Nothing about the screen changed between the two.
197
198So the enforced suite's result depends on execution order, which means the
199pre-push hook can report a failure that a re-run on a fresh simulator does not.
200When a `[FAIL]` appears, check it against a clean store before believing it.
201
202Fixing it properly means the harness resetting the app's store between
203launches — a launch argument that wipes the suite's `UserDefaults` domain
204would do it, and would also let the recent-searches section below be audited on
205purpose rather than by accident.
206
187207## Why the floor runtime needs its own run
188208
189209**Audit coverage is not nested across OS versions.** Each runtime reports