방 설정 "다음 문제까지"(5/10/15/30초, 기본 5초)와 "다음문제인원(이상)" 투표: 정답 공개 시간을 방마다 고르고, 공개 중 ⏭ 다음 문제(Ctrl+K) 표가 기준 이상이면 바로 넘어감(마지막 문제는 결과로). 공개 화면에 남은 초, 방 카드 요약에 '공개 N초', 관리자 기본값·잠금

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-18 23:35:33 +09:00
parent c81b6b8c9a
commit a1507e5b95
12 changed files with 146 additions and 25 deletions

View File

@@ -88,6 +88,10 @@ try {
await p.getByLabel('채팅 입력').press('Enter');
await p.locator('.reveal').waitFor();
await audit(p, `${label}/${theme} 정답 공개`);
// 다음 문제까지 N초, and 다음 문제 (1명 방: 1/3 → 1) moves on before the 4s reveal ends
if (!/다음 문제까지 \d초/.test(await p.locator('.reveal .next-in').innerText())) throw new Error('다음 문제까지 표시 없음');
await p.locator('.gbtn', { hasText: '다음 문제' }).click();
await p.locator('.gbar .q', { hasText: '문제 2' }).waitFor({ timeout: 2500 });
await p.getByRole('button', { name: '⏹ 끝내기' }).click();
await p.getByRole('button', { name: '끝내기', exact: true }).click();
await p.getByRole('heading', { name: '🏁 게임 결과' }).waitFor();