From 94b813c8b524903b9317981bec8b7898b70cfa16 Mon Sep 17 00:00:00 2001 From: EJClaw Date: Tue, 6 Oct 2026 13:49:17 +0900 Subject: [PATCH] =?UTF-8?q?M9:=20=EB=8B=A4=EC=8B=9C=20=EB=B3=B4=EA=B8=B0?= =?UTF-8?q?=C2=B7=EC=BB=B4=ED=93=A8=ED=84=B0=20=EC=83=81=EB=8C=80=20E2E?= =?UTF-8?q?=EB=8F=84=2030=EC=B4=88=20=EC=9A=94=EC=95=BD=20=EC=B9=B4?= =?UTF-8?q?=EB=93=9C=EB=A5=BC=20=EB=B3=B8=20=EA=B2=83=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- e2e/bots.e2e.ts | 2 ++ e2e/replay.e2e.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/e2e/bots.e2e.ts b/e2e/bots.e2e.ts index 66c0415..5e1a8fc 100644 --- a/e2e/bots.e2e.ts +++ b/e2e/bots.e2e.ts @@ -69,6 +69,8 @@ async function clickCell(p: Page, x: number, y: number) { try { const pc = await browser.newContext({ viewport: { width: 1440, height: 900 }, locale: 'ko-KR' }); const phone = await browser.newContext({ viewport: { width: 390, height: 844 }, deviceScaleFactor: 2, isMobile: true, hasTouch: true, locale: 'ko-KR' }); + // The first-game "30초 규칙 요약" cards are tested in e2e/tutorial.e2e.ts; mark them seen here. + for (const ctx of [pc, phone]) await ctx.addInitScript(() => { for (const g of ['omok', 'one-card']) localStorage.setItem(`bg:qs:${g}`, '1'); }); const a = await pc.newPage(); const b = await phone.newPage(); const errors: string[] = []; diff --git a/e2e/replay.e2e.ts b/e2e/replay.e2e.ts index d9b4b83..a31359e 100644 --- a/e2e/replay.e2e.ts +++ b/e2e/replay.e2e.ts @@ -74,6 +74,8 @@ const hand = (p: Page) => try { const ctxA = await browser.newContext({ viewport: { width: 1440, height: 900 }, locale: 'ko-KR' }); const ctxB = await browser.newContext({ viewport: { width: 390, height: 844 }, deviceScaleFactor: 2, isMobile: true, hasTouch: true, locale: 'ko-KR' }); + // The first-game "30초 규칙 요약" cards are tested in e2e/tutorial.e2e.ts; mark them seen here. + for (const ctx of [ctxA, ctxB]) await ctx.addInitScript(() => { for (const g of ['omok', 'one-card', 'seotda']) localStorage.setItem(`bg:qs:${g}`, '1'); }); const a = await ctxA.newPage(); const b = await ctxB.newPage(); const errors: string[] = [];