Files
meshcore-analyzer/tests
n30nex 9f6f318857 test(rf-health): wait for airtime badges after grid refresh (#2289)
Fixes #2288. The RF Health airtime test now waits for the requested
observer's actual airtime badge. Waiting for any tile and then
immediately reading the badge could race with a theme refresh that
clears and rebuilds the grid.

This is a test-only synchronization correction: two lines replaced, no
application changes, and the existing value/warning assertions remain
unchanged. No sleeps, timeout increases, skips or retries were added.

- Existing RED evidence: [upstream-compatible CI
failure](https://github.com/Kpa-clawbot/CoreScope/actions/runs/40190851550/job/121161457287).
The test blob is identical on upstream `cb38ac35` and that PR's head.
- A controlled local reproduction holds the next summary response during
a real theme refresh. The old immediate read fails; the locator read
waits for the correct badge.
- Four local browser runs passed, including an independent parent run.
Wrong-value and missing-warning mutations still fail the original
assertion. Test inventory passed.
- Browser verified: http://127.0.0.1:18851 on an isolated Go fixture.

Privacy and whitespace checks passed. The external home-directory
preflight bundle is unavailable; applicable checks were performed
locally. Independent reviews found no outstanding fixes. [Final
CI](https://github.com/Kpa-clawbot/CoreScope/actions/runs/40193032972)
passed on `36d1bf4a`, including all three browser shards and both
architecture builds.
2026-10-26 15:40:51 +01:00
..