diff --git a/frontend/e2e/mocks/world.ts b/frontend/e2e/mocks/world.ts index 0a742fab..1230587e 100644 --- a/frontend/e2e/mocks/world.ts +++ b/frontend/e2e/mocks/world.ts @@ -136,9 +136,7 @@ export class MockWorld { // Key on the request's variables, not the entry's: an entry written without variables would // otherwise merge every flow's subscribers onto one stream, and the second would join delta-only. - return entry - ? { entry, streamKey: `sub:${operationName}:${stableStringify(variables ?? {})}` } - : undefined; + return entry ? { entry, streamKey: `sub:${operationName}:${stableStringify(variables ?? {})}` } : undefined; } registerSocket(socket: MockSocket): void { diff --git a/frontend/e2e/specs/auth.setup.ts b/frontend/e2e/specs/auth.setup.ts index 772b4310..0320837d 100644 --- a/frontend/e2e/specs/auth.setup.ts +++ b/frontend/e2e/specs/auth.setup.ts @@ -18,7 +18,9 @@ setup('authenticate', async ({ page }) => { const skip = page.getByRole('button', { name: 'Skip for now' }); // The user menu is labelled with the signed-in address, so derive the "logged in" signal // from E2E_USER rather than a hardcoded admin@ (there is no button named "flows"). - const loggedIn = page.getByRole('button', { name: new RegExp(E2E_USER.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), 'i') }); + const loggedIn = page.getByRole('button', { + name: new RegExp(E2E_USER.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'), 'i'), + }); await expect(skip.or(loggedIn).first()).toBeVisible({ timeout: 15_000 });