10단계 다듬기: axe 접근성 검사(첫 화면·대기실·게임·정답 공개·결과·관리자, PC/휴대폰 × 밝은/어두운 화면) 위반 0으로 고침(배지·정답 글자 대비, 게임 화면 main·방 정보 영역, 제목 순서, 별 아이콘), 100명 부하 시험 + TJ는 최근 2년만, 멜론 곡 정보는 가사·연도 없는 곡부터

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
EJClaw
2026-10-18 22:43:26 +09:00
parent 46240ac699
commit 674cd377b4
10 changed files with 313 additions and 19 deletions

21
e2e/load-server.ts Normal file
View File

@@ -0,0 +1,21 @@
/** Server process for e2e/load.ts: same startServer as production, seeded with playable songs. */
import { join } from 'node:path';
import { loadConfig } from '../apps/server/src/config';
import { startServer } from '../apps/server/src/server';
import { Catalog } from '../apps/server/src/collector/catalog';
const app = startServer({
config: loadConfig({ PORT: process.env.PORT!, DB_PATH: process.env.DB_PATH!, PUBLIC_ORIGIN: process.env.PUBLIC_ORIGIN!, TRUST_PROXY: '1' }),
log: () => {},
staticDir: null,
gameTiming: { countdownMs: 1000, revealMs: 1500 },
});
const c = new Catalog(app.db);
for (let i = 1; i <= 20; i++) {
const [id] = c.upsert({ title: `부하곡${i}`, artists: [{ name: `부하가수${i}` }], year: 2000 + i, genres: ['kpop'], source: 'load', ref: String(i) });
c.autoLevel(id!, 'all', 3);
app.db.query("UPDATE songs SET youtube_status = 'matched', embeddable = 1, youtube_id = ?, duration_sec = 200 WHERE id = ?").run(`load${String(i).padStart(7, '0')}`, id!);
}
setInterval(() => process.send?.({ rss: process.memoryUsage().rss }), 1000);
console.log('ready');
void join;