feat: Seitenleiste mit Verlauf, Suche und Anheften (CHAT-03, #1122)

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-20 08:40:11 +01:00
parent d5d48f6310
commit c053ed4b10
4 changed files with 132 additions and 4 deletions

View File

@ -1525,6 +1525,20 @@ async fn chat_kopf_hat_persona_vor_der_modellwahl() {
let senden = seite.find("id=\"chat-senden\"").expect("Senden fehlt");
assert!(eingabe < modell_pos && modell_pos < denk_pos && denk_pos < senden);
assert!(modell_pos > seite.find("id=\"chat-verlauf\"").unwrap());
// CHAT-03: Seitenleiste mit Suche, Liste, Ein-/Ausklappen; Speicherung nur im Browserfenster.
for id in [
"chat-rahmen",
"chat-liste",
"chat-suche",
"chat-seite-knopf",
] {
assert!(seite.contains(&format!("id=\"{id}\"")), "{id} fehlt");
}
assert!(
js.contains("sessionStorage")
&& js.contains("nexus-chats-v1")
&& !js.contains("localStorage")
);
}
#[tokio::test]