[docs] KeepHerSafeApps: Round trip on the tablet, the page between Android's bars, review, gaps closed, lessons

This commit is contained in:
2026-11-17 22:22:36 +01:00
parent e262b8f295
commit d5f37b3149
13 changed files with 243 additions and 32 deletions
+15
View File
@@ -212,3 +212,18 @@ happens first (the setup fails). On a shared device, a leftover is somebody else
clean-up tolerate half-done setup (`page?.close()`, `browser?.close()`); retry connections that
race a cold start (the script tries for 30 s). After every device run, check: `pidof` the app is
empty, `reverse --list` and `forward --list` are empty.
## When a hand-run probe passes and the check fails, the check is the bug
**What happened.** On 2026-11-17 the Android round trip (`e2e/apps/check-garden.ts`) failed three
times at *Bring her back from a file*, while a probe doing the same steps by hand passed. Two
differences, both in the check: it tapped the picker while the screen was still sliding in, and it
matched nodes by description too, so it tapped DocumentsUI's *Preview the file …* button, which
comes before the file's own name in the tree.
**Why it bit.** A check that drives someone else's screen (Android's picker) carries assumptions
about that screen. When it fails, the app is the first suspect, and the check's own guesses are not.
**How to apply it.** When a device check fails, do the steps once by hand with screenshots before
changing the app. On a system screen, match the exact visible text, and tap only a node that stands
still across two readings.