From b2c80e31195ddca857b34183e1aac039d96a5600 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 6 Oct 2026 11:14:28 +0000 Subject: [PATCH] Fix biome formatting on OoStage and E2E specs Co-authored-by: cynarAI --- apps/web/e2e/first-run-onboarding-ux.spec.ts | 8 ++++++-- apps/web/src/components/stage/OoStage.tsx | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/apps/web/e2e/first-run-onboarding-ux.spec.ts b/apps/web/e2e/first-run-onboarding-ux.spec.ts index 6b74d84..630b2da 100644 --- a/apps/web/e2e/first-run-onboarding-ux.spec.ts +++ b/apps/web/e2e/first-run-onboarding-ux.spec.ts @@ -12,7 +12,9 @@ test("onboarding names the first Oo and shows it in chat", async ({ page }) => { await page.getByRole("button", { name: /Skip/i }).click(); await page.getByRole("button", { name: "Skip", exact: true }).click(); await expect(page).toHaveURL(/\/app\/g\/[^/]+/, { timeout: 30_000 }); - await expect(page.getByTestId("bot-settings-trigger").getByText("Luna", { exact: true })).toBeVisible(); + await expect( + page.getByTestId("bot-settings-trigger").getByText("Luna", { exact: true }), + ).toBeVisible(); expect((await rpc<{ name: string }>(page, "bots/ensureMain", {})).name).toBe("Luna"); }); @@ -24,7 +26,9 @@ test("German UI keeps Deutsch on language skip label", async ({ page }) => { await signup(page, `de-skip-${stamp}@rakazo.test`, "password12", "Deutsch"); await page.getByRole("button", { name: "Continue", exact: true }).click(); await page.getByRole("button", { name: "Skip", exact: true }).click(); - await expect(page.getByRole("heading", { name: /Sprache wählen|Choose your language/i })).toBeVisible(); + await expect( + page.getByRole("heading", { name: /Sprache wählen|Choose your language/i }), + ).toBeVisible(); await expect(page.getByRole("button", { name: /Überspringen · Deutsch/i })).toBeVisible(); }); diff --git a/apps/web/src/components/stage/OoStage.tsx b/apps/web/src/components/stage/OoStage.tsx index 55f99ac..586486e 100644 --- a/apps/web/src/components/stage/OoStage.tsx +++ b/apps/web/src/components/stage/OoStage.tsx @@ -1,5 +1,4 @@ import { useLingui } from "@lingui/react/macro"; -import { isMultiOoGroupChat } from "../../lib/group-chat"; import type { ThreadSnapshot } from "@rakazo/contracts"; import { BotAvatar } from "@rakazo/ui-web"; import { useEffect, useMemo, useState } from "react"; @@ -13,6 +12,7 @@ import { resolveBotPersona, resolveTextStagePhase, } from "../../lib/bot-persona"; +import { isMultiOoGroupChat } from "../../lib/group-chat"; import { extractGroupSpark, type GroupStageMember,