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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user