M9: 다시 보기·컴퓨터 상대 E2E도 30초 요약 카드를 본 것으로 처리
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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[] = [];
|
||||
|
||||
Reference in New Issue
Block a user