Runde 8: ruhige Freistell-Kante, KI-Zusammenfassung nur mit Einwilligung, Nachschauen im Foyer, Handy-Schwelle 20 B/s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -343,6 +343,14 @@ const regieClip = await rs.evaluate(() => [...document.querySelectorAll('#nb-lis
|
||||
ok(regieClip.length === 1 && /Clip-Vorschlag/.test(regieClip[0]) && gastClip === 0, `der stärkste Moment ist als Clip-Vorschlag markiert – bei der Regie, nicht beim Zuschauer (${regieClip.length} / ${gastClip})`);
|
||||
await kr.close();
|
||||
|
||||
/* Runde 8: Das Foyer sagt an „Zuletzt“, was man nachschauen kann. */
|
||||
await seite.setViewportSize({ width: 1280, height: 900 });
|
||||
await seite.goto(`${BASIS}/workspace/reaktion-foyer.html`, { waitUntil: "domcontentloaded" });
|
||||
await seite.waitForFunction(() => document.querySelectorAll("#zuletzt-liste .fy-ns").length >= 2, null, { timeout: 15000 }).catch(() => {});
|
||||
const fy = await seite.evaluate(() => [...document.querySelectorAll("#zuletzt-liste li[data-sendung]")].map((li) => ({ id: li.dataset.sendung, ns: li.querySelector(".fy-ns")?.textContent || "" })));
|
||||
const f1 = fy.find((x) => x.id === String(v1.id)), f2 = fy.find((x) => x.id === String(v2.id));
|
||||
ok(f1 && /mit Chat von damals/.test(f1.ns) && f2 && /Nachschauen/.test(f2.ns) && !/Chat/.test(f2.ns), `im Foyer: „▶ Nachschauen“, mit Chat nur dort, wo er aufgehoben ist (${JSON.stringify([f1, f2])})`);
|
||||
|
||||
/* ---------- Teil 3: im Saal: Schalter + Hinweis ----------------------- */
|
||||
await roh("/workspace/api/reaktion", { method: "PUT", keks: k.admin, rumpf: { titel: "Dritter Abend", video: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" } });
|
||||
for (const st of ["vorbereitung", "live"]) await roh("/workspace/api/reaktion/stand", { method: "POST", keks: k.admin, rumpf: { stand: st } });
|
||||
|
||||
Reference in New Issue
Block a user