From 1f0b52685ea6e46329358011baba4b116880fbb9 Mon Sep 17 00:00:00 2001 From: EJClaw Date: Wed, 14 Oct 2026 04:33:24 +0900 Subject: [PATCH] =?UTF-8?q?e2e:=20=EC=84=AF=EB=8B=A4=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=EB=91=90=20=EC=82=AC=EB=9E=8C=EC=9D=B4=20=EB=8B=A4=EC=9D=B4?= =?UTF-8?q?=ED=95=98=EB=A9=B4=20=EB=82=A8=EC=9D=80=20=EC=82=AC=EB=9E=8C?= =?UTF-8?q?=EC=9D=B4=20[=EC=B9=B4=EB=93=9C=20=EA=B3=B5=EA=B0=9C]=EB=A5=BC?= =?UTF-8?q?=20=EA=B3=A0=EB=A5=B4=EA=B3=A0=20=EB=AA=A8=EB=91=90=EC=97=90?= =?UTF-8?q?=EA=B2=8C=20=ED=8C=A8=EA=B0=80=20=EB=B3=B4=EC=9D=B4=EB=8A=94?= =?UTF-8?q?=EC=A7=80(seotdaFold)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- e2e/games.e2e.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/e2e/games.e2e.ts b/e2e/games.e2e.ts index 9f9cb94..6249209 100644 --- a/e2e/games.e2e.ts +++ b/e2e/games.e2e.ts @@ -1554,6 +1554,28 @@ const PLANS: Record = { await pages[1]!.screenshot({ path: join(SHOTS, 'seotda3-result-phone.png'), fullPage: true }); }, }, + seotdaFold: { + // 2026-10-14: the first actor bets 하프, the other two 다이 → the one left chooses [카드 공개]; everyone then sees + // the cards and "패를 공개했어요" in the result. + game: 'seotda', + players: 3, + drive: async (pages) => { + await pressActions(pages, /^하프/, 1); + await pressActions(pages, /^다이/, 2); + let winner: Page | null = null; + for (let t = 0; t < 50 && !winner; t++) { + for (const p of pages) if (await p.getByRole('group', { name: '카드 공개' }).count()) winner = p; + if (!winner) await pages[0]!.waitForTimeout(100); + } + if (!winner) throw new Error('nobody was asked to show the cards'); + for (const p of pages) if (p !== winner) await p.getByText(/카드 공개 여부를 고르는 중이에요/).first().waitFor({ timeout: 5000 }); + await winner.screenshot({ path: join(SHOTS, 'seotda-fold-reveal-ask.png') }); + await winner.getByRole('button', { name: '카드 공개', exact: true }).click(); + for (const p of pages) await p.getByText(/패를 공개했어요/).first().waitFor({ timeout: 10_000 }); + await pages[0]!.waitForTimeout(1500); // the flip + await pages.find((p) => p !== winner)!.screenshot({ path: join(SHOTS, 'seotda-fold-revealed-other.png') }); + }, + }, poker: { // 3 players, default 7포커: 초이스 (discard 1st card, open 2nd), then everyone checks 4 streets → showdown. players: 3,