test(ui): configure EDIT-off live start in pill guard

This commit is contained in:
2026-11-02 11:38:17 -08:00
parent c9bd7e6093
commit c856d11fb5
2 changed files with 9 additions and 7 deletions
+7 -6
View File
@@ -5,19 +5,20 @@
- `main`; local only, not pushed. Logs tabs: `9fa06c6`; YPP fixture: `3985a41`.
- Stale test assumptions corrected: scoreboard pill `221b816`, property hierarchy `91e308e`, geometry
gate `82609a5`, notification theme `caf91e6`, dev-build gate `0e1f948`, Settings gear `e6a7147`.
- `MicBayTests` now expects the designed 0 dB maximum; focused test passes. This task is ready to
commit.
- Clean app build is 0 warnings. Full suite: 2 failed / 520 passed of 522.
- `MicBayTests` now expects the designed 0 dB maximum; committed as `c9bd7e6`.
- `PillRadioTests` now explicitly sets EDIT off for its signed-out Go Live assertion; focused test
passes. This task is ready to commit.
- Clean app build is 0 warnings. Full suite: 1 failed / 521 passed of 522.
## Next action
Commit the MicBay assertion update, then resolve the two remaining test failures independently.
Do not push absent a milestone/checkpoint request.
Commit the PillRadio setup update, then resolve the last remaining test failure. Do not push absent
a milestone/checkpoint request.
## Landmines
- Build/test with Windows `dotnet.exe`; the full suite can hang in WASAPI teardown.
- `verify.sh` remains red until the 2 remaining failures are fixed; run scope-check separately when
- `verify.sh` remains red until the last failure is fixed; run scope-check separately when
it exits early.
- Any integration test constructing `MainWindow` must use a temporary `LayoutPathOverride` and clear
it in `finally`.
+2 -1
View File
@@ -89,6 +89,7 @@ public sealed class PillRadioTests
// The dev machine may hold a real saved OAuth session (loads synchronously
// during the ctor), so the signed-out face is forced deterministically.
vm.IsConnected = false;
vm.EditingActive = false; // EDIT off selects the real Go Live route, not Test Stream.
// No sign-in: the ON-AIR pill MUST still be able to light — intent before
// reality, armable signed-out (creator ruling 2026-09-20).
@@ -119,4 +120,4 @@ public sealed class PillRadioTests
try { File.Delete(tempDb); } catch { /* best-effort cleanup */ }
}
}
}
}