Lautheit wie im Rundfunk (EBU R128 im AudioWorklet) im Ton-Bereich; Saal-Fenster-Knopf am Handy aus, er schob Beenden aus dem Fenster

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-05 10:04:42 +01:00
co-authored by Claude Opus 5.5
parent 01a2e57952
commit 0aa4a44e4d
60 changed files with 1501 additions and 831 deletions
+10
View File
@@ -274,6 +274,16 @@ ok(mass.form > 0 && mass.form <= 60 && mass.chat >= mass.fenster * 0.35 && mass.
ok(/^Mikro (stumm|einschalten)$/.test(mass.mikro), `der Mikro-Knopf sagt, was er tut („${mass.mikro}“)`);
if (BILDER) await seite.screenshot({ path: `${BILDER}/saalfenster-1440.png` });
if (BILDER && pipSeite) await pipSeite.screenshot({ path: `${BILDER}/saalfenster-fenster.png` }).catch(() => {});
/* Handy: kein Saal-Fenster-Knopf, und die Cockpit-Zeile bleibt im Fenster. */
const kH = await browser.newContext({ viewport: { width: 390, height: 844 }, hasTouch: true, isMobile: true, ignoreHTTPSErrors: true });
await kH.addCookies(k.admin.split("; ").filter(Boolean).map((z) => { const [n, ...r] = z.split("="); return { name: n, value: r.join("="), domain: CREW, path: "/" }; }));
const hS = await kH.newPage();
await hS.goto(`${BASIS}/workspace/reaktion.html`, { waitUntil: "domcontentloaded" });
await hS.waitForSelector("body[data-stand]", { timeout: 20000 });
await hS.waitForTimeout(2500);
const zeile = await hS.evaluate(() => { const k = document.getElementById("sf-oeffnen"); const b = document.getElementById("cockpit-beenden"); const r = b?.getBoundingClientRect(); const reihe = b ? [...b.parentElement.children].map((x) => `${(x.id || x.className).toString().slice(0, 24)}:${Math.round(x.getBoundingClientRect().width)}`) : []; return { knopf: !!k && k.getBoundingClientRect().width > 0, beenden: r ? Math.round(r.right) : null, breite: innerWidth, reihe }; });
if (BILDER) await hS.screenshot({ path: `${BILDER}/saalfenster-handy-390.png` });
ok(!zeile.knopf && zeile.beenden !== null && zeile.beenden <= zeile.breite, `Handy: kein Saal-Fenster-Knopf, „Beenden · halten“ bleibt im Fenster (${JSON.stringify(zeile)})`);
ok(!konsole.length, `keine Fehler in der Konsole (${konsole.slice(0, 3).join(" | ")})`);
await browser.close();
vorbau.close();