Rudel-Chat Rückblick: keine doppelte Stecknadel bei angehefteten Aushängen; Bild-Option für die S7-Prüfung

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-11 16:46:05 +01:00
co-authored by Claude Opus 5.5
parent 1e150eafad
commit 69a2b1a817
3 changed files with 9 additions and 1 deletions
+6
View File
@@ -281,6 +281,12 @@ try {
await karte.locator(".chat-umfrage__antwort").first().tap();
await l.s.waitForFunction(() => [...document.querySelectorAll(".chat-umfrage")].some((k) => /Pizza/.test(k.textContent) && /100 %/.test(k.textContent)), null, { timeout: 8000 }).catch(() => {});
ok(/100 %/.test(await l.s.locator(".chat-umfrage", { hasText: "Pizza" }).first().textContent()), "nach dem Tipp: das Ergebnis");
/* Bild für den Bericht (nur auf Wunsch, Testdaten) */
if (process.env.GEMEINSAM_BILD) {
await l.s.locator(".chat-umfrage", { hasText: "Pizza" }).first().scrollIntoViewIfNeeded();
await l.s.waitForTimeout(300);
await l.s.screenshot({ path: join(process.env.GEMEINSAM_BILD, "s7-umfrage-termin-handy.png") });
}
const tk = l.s.locator(".chat-termin").first();
await tk.scrollIntoViewIfNeeded(); await l.s.waitForTimeout(350);
await tk.locator(".chat-termin__knopf", { hasText: "Dabei" }).tap();