diff --git a/e2e/games.e2e.ts b/e2e/games.e2e.ts index 7b5658c..ae98f7e 100644 --- a/e2e/games.e2e.ts +++ b/e2e/games.e2e.ts @@ -2067,7 +2067,7 @@ for (const id of games) { const guest = guests[0]!; for (const p of [host, ...guests]) p.on('pageerror', (e) => errors.push(`${id}: ${e.message}`)); // The first-game "30초 규칙 요약" cards are tested in e2e/tutorial.e2e.ts; mark them seen here. - for (const p of [host, ...guests]) await p.addInitScript((g) => localStorage.setItem(`bg:qs:${g}`, '1'), id); + for (const p of [host, ...guests]) await p.addInitScript((g) => localStorage.setItem(`bg:qs:${g}`, '1'), plan.game ?? id); try { await host.goto(`${ORIGIN}/g/${plan.game ?? id}`); await host.getByRole('button', { name: /친구랑 하기/ }).click();