refactor(tests): split the e2e files over 500 lines into topic modules
Operator pick 2026-11-14: every tests/e2e file at most 500 lines, so Quality's line limit and medusa's per-file scanner timeout hold. test_orchestrator_e2e.py (3032 lines), test_radio_layout_e2e.py (1258) and test_radio_set_e2e.py (504) become shared helper modules (hub_e2e_kit, hub_e2e_views, hub_e2e_radio, hub_e2e_board, hub_e2e_inbox, hub_e2e_plan, radio_layout_kit, radio_layout_probes, radio_layout_focus_probes, radio_set_kit) and topic test modules (test_hub_radio_e2e, test_hub_board_e2e, test_hub_inbox_e2e, test_hub_plan_e2e, test_radio_focus_e2e); the longest file is now 485 lines. All 98 e2e test methods keep their names and bodies (AST multiset compared before and after); 40 of the 55 moved tests change module or class, so their ids change. The 21 importers and requirement 004 follow. Security acceptances (kvb-think-criticize with an independent skeptic, moved unchanged code): MEDUSA-INF-SCAN-1475, -1616, -2330, -2844, -2970, -3199 radio_layout_kit.py 19 (fixture agent name Beacon); 19 MEDUSA-INF-SCAN rules hub_e2e_kit.py 208 (mkstemp-backed NamedTemporaryFile); B603 hub_e2e_kit.py 211 (list argv, no shell, the repo's own node drivers). 🎯 Fix: 88 % 💥 Break: 4 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: ~100 % 🏆 Score: 84 🚦 Gate: ⛔ fix 88 % < 90 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e1445cb88b
commit
d8b1c95402
40 files changed
+4459
-4121
No files matched your search
@@ -314,9 +314,10 @@ flowchart TD
|
||||
each against the contract of its side of decision 11, in six
|
||||
states on the real code paths (idle, stations open, a recorded voice
|
||||
note, a real reading through the mocked synthesizer, MAYDAY banner with a
|
||||
short and a long text) after the view transition settles, the station
|
||||
popover's placement, whole rows, Escape and outside click in the spot and
|
||||
on the Home tiles at 1366, 1280 and 390 px, and where the focus lands
|
||||
short and a long text) after the view transition settles;
|
||||
`tests/e2e/test_radio_focus_e2e.py` measures the station popover's
|
||||
placement, whole rows, Escape and outside click in the spot and on the
|
||||
Home tiles at 1366, 1280 and 390 px, and where the focus lands
|
||||
after mouse presses on a History tab and on blank `#main` with Day/Night
|
||||
or the stations open at 1366 and 390 px in both browsers, the focus on
|
||||
a keyboard-focused row button and tab across new rows and a forced minute
|
||||
|
||||
Reference in new issue
Block a user