뱅!·고스톱·스플렌더·바퀴벌레 포커·구십구 소리·애니메이션, 게임 문서에 소리·움직임, E2E에서 무제한 확인

- 모두 view 변화(기록·이전 view 비교)에 반응해서 컴퓨터·다른 사람 행동에도 소리와 움직임이 나옴, 처음 렌더·다시 보기는 건너뜀
- 뱅!: 총소리·개틀링·인디언·결투·판정 카드·다이너마이트·감옥·맥주·쓰러짐 배너
- 고스톱: 패 내기 "탁", 뒤집기, 먹기, 피 뺏기, 뻑·따닥·쪽·싹쓸이·폭탄·흔들기 배너, N고, 판 끝(마지막 판 승패 소리는 결과 창 하나만)
- 스플렌더: 보석·카드·귀족이 날아가고 보석 소리, 마지막 라운드 배너
- 바퀴벌레 포커: 건네기·판정 배너·앞마당으로 날아감·위험 경고음
- 구십구: 카드가 합계 다이얼로, 90 이상 두근, 바로 99 배너, 방향 바뀜, 목숨·탈락
- E2E: 구십구·바퀴벌레 포커를 무제한으로 진행하고 타이머가 안 보이는지 확인

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-13 13:31:14 +09:00
parent ac37a6a6d8
commit 4fa4c69725
14 changed files with 1268 additions and 125 deletions

View File

@@ -2250,7 +2250,8 @@ const PLANS: Record<string, Plan> = {
players: 3,
lobby: async (host) => {
await host.getByRole('group', { name: '같은 벌레 몇 장이면 패배' }).getByRole('button', { name: '3장(짧게)' }).click();
await host.getByText(/같은 벌레 3장이면 패배/).first().waitFor();
await host.getByRole('group', { name: '건네기·판정 제한 시간' }).getByRole('button', { name: '무제한' }).click();
await host.getByText(/같은 벌레 3장이면 패배.*시간 무제한/).first().waitFor();
},
drive: async (pages) => {
const [host, guest] = pages as [Page, Page, Page];
@@ -2299,16 +2300,16 @@ const PLANS: Record<string, Plan> = {
},
},
'ninety-nine': {
// PC host + 2 phones, 전용 카드 with 6 of each special card and 30-second turns. Real turns through the UI until the
// PC host + 2 phones, 전용 카드 with 6 of each special card and no turn clock (무제한: no timer anywhere). Real turns through the UI until the
// game ends: joker via the number dial (quick 99, then −1), ± cards via their +/− buttons, 0 with its keep/reverse
// direction buttons, otherwise a number card (PC: keyboard Enter twice, phones: tap twice). 3 players start at 20
// with 5 cards each (official rules). Players run out of cards and are eliminated.
players: 3,
lobby: async (host) => {
await host.getByRole('group', { name: '한 턴 제한 시간' }).getByRole('button', { name: '30초' }).click();
await host.getByRole('group', { name: '한 턴 제한 시간' }).getByRole('button', { name: '무제한' }).click();
await host.getByRole('button', { name: '▼ 자세한 설정' }).click();
await host.getByRole('group', { name: '특수 카드 장수' }).getByRole('button', { name: '6장' }).click();
await host.getByText(/^전용 카드 · 손패 5장 · 목숨 없음 · 30초/).first().waitFor();
await host.getByText(/^전용 카드 · 손패 5장 · 목숨 없음 · 시간 무제한/).first().waitFor();
},
drive: async (pages) => {
const [host, guest] = pages as [Page, Page, Page];
@@ -2329,6 +2330,7 @@ const PLANS: Record<string, Plan> = {
if (!shot && turns >= 5) {
shot = true;
await host.waitForTimeout(500);
for (const p of pages) if (await p.getByRole('timer').count()) throw new Error('무제한 room still shows a turn timer');
await host.screenshot({ path: join(SHOTS, 'ninety-nine-mid-pc.png') });
await guest.screenshot({ path: join(SHOTS, 'ninety-nine-mid-phone.png') });
await guest.screenshot({ path: join(SHOTS, 'ninety-nine-mid-phone-full.png'), fullPage: true });