Fix biome formatting on OoStage and E2E specs
Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
This commit is contained in:
parent
9b09a3063b
commit
b2c80e3119
@ -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();
|
||||
});
|
||||
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user