test(e2e): restore authenticated parity fixtures

This commit is contained in:
2026-07-31 18:08:04 +00:00
parent a2d4346d60
commit c3c1ddc0cf
7 changed files with 8 additions and 0 deletions
@@ -192,6 +192,7 @@ const installFixture = async (
await page.route('**/che/api/trpc/**', async (route) => {
const body = route.request().postDataJSON();
const results = operationNames(route).map((operation) => {
if (operation === 'auth.status') return response({ userId: 'frontend-parity-user' });
if (operation === 'lobby.info') {
return response({ ...fixture.game.lobby, myGeneral: general });
}