feat: Stimme als Popover mit Vorschau im Chat-Kopf (CHAT-01, #1122)

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 08:05:12 +01:00
parent 5edc1aa3ae
commit 518fb59f2a
3 changed files with 11 additions and 2 deletions

View File

@ -1512,6 +1512,10 @@ async fn chat_kopf_hat_persona_vor_der_modellwahl() {
let persona = seite.find("id=\"chat-persona\"").expect("Persona fehlt");
let modell = seite.find("id=\"chat-modell\"").expect("Modell fehlt");
assert!(kopf < persona && persona < modell);
// CHAT-01: Stimme als Popover mit Vorschau; der Test-Gateway hat ein Sprachmodell.
assert!(seite.contains("id=\"chat-stimmen-popover\"") && seite.contains("id=\"chat-stimme\""));
let (_, _, js) = ui_get(&gw, "/ui/chat.js", Some(&cookie)).await;
assert!(js.contains("chat-stimme-vorschau") && js.contains("Dies ist eine Vorschau"));
}
#[tokio::test]