test: restore game frontend session fixtures

This commit is contained in:
2026-07-31 17:28:34 +00:00
parent ec20da5799
commit 34a88e5c80
10 changed files with 142 additions and 80 deletions
+1
View File
@@ -154,6 +154,7 @@ const installFixture = async (page: Page, state: FixtureState) => {
await page.route('**/che/api/trpc/**', async (route) => {
const operations = operationName(route).split(',');
const results = operations.map((operation) => {
if (operation === 'auth.status') return response({ ok: true });
if (operation === 'lobby.info') return response({ myGeneral: { id: 22, name: '정책담당' } });
if (operation === 'join.getConfig') return response({});
if (operation === 'npc.getPolicy') {