Commit bdb4444
committed
test(ping): capture a paged body, and a body that must not be paged
No suite in the screenshot set had an over-long body, so the pager's own
rendering appeared NOWHERE in CI. The one behaviour 7.14.2 changed on the
confirm path was the one behaviour no capture could show, which is how it came
to be checked by pointing a camera at an OLED instead.
test_ping_long_body_is_paged sends 255 characters and captures the numbered
pages. The body is a digit ramp -- the Nth character is str(N % 10) -- so a
character dropped or repeated at a page seam is visible by inspection rather
than by counting.
test_ping_short_body_is_not_paged is the control, and it is the more important
of the two. A pager that numbered EVERY confirmation would make ordinary
approvals cost extra presses, and without a negative case that regression passes
unnoticed: more screens always looks like more disclosure.
Both gated to 7.14.2 with requires_firmware, so they SKIP rather than fail on
older builds.
What these do NOT assert: the press durations. Intermediate pages advance on a
short click and only the last page takes a hold -- there is no physical button
in an emulator, so that half stays a hardware check. It is now a short list
rather than a whole round.1 parent 1a6e785 commit bdb4444
2 files changed
Lines changed: 56 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
345 | 360 | | |
346 | 361 | | |
347 | 362 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
58 | 99 | | |
59 | 100 | | |
60 | 101 | | |
| |||
0 commit comments