test(e2e): follow 004's browser-side speech settings in the bubble tests

Requirement 004 (acf3925) moved speech on, classes and muted into each browser's localStorage and gave the speech tool a second argument admit; the bubble-faces fixture still saved the old hub settings and stubbed the one-argument tool, which settings.py now refuses. The fixture saves only bubbles, stubs (body, admit) and sets the radio to Silence with mayday and security through a start-up script. W6's long row moves from security to broadcast, the class 004 switched W6 to, so the browser picks it again.

🎯 Fix: 95 %
💥 Break: 2 %
💸 Cost: –
⏱️ Time: –
🛡️ Security: 100 %
🏆 Score: 93
🚦 Gate: ✅ 90/5, cost and time <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kevin Veen-BirkenbachandClaude Opus 5.5 committed 2026-11-13 20:40:57 +00:00
1 parent 1e5aac8a37
commit 1f8f17b182
2 files changed
+12 -4

No files matched your search

+1 -1
View File
@@ -247,7 +247,7 @@ class TestWorkbenchBubbles(HubCase):
word = json.loads(body)["text"]
if word == f"{CUE}-long":
with (self.council / "news.jsonl").open("a", encoding="utf-8") as handle:
handle.write(self.jsonl([{"ts": time.time(), "from": "Stage", "to": [], "text": LONG, "class": "security", "v": 2}]))
handle.write(self.jsonl([{"ts": time.time(), "from": "Stage", "to": [], "text": LONG, "class": "broadcast", "v": 2}]))
elif word.startswith(CUE):
now = time.time()
rows = [