Localize onboarding focus facts by profile locale (DE assertion). Add mobile overflow/touch audits, deep-link matrix, extended console checks, and E2E for empty project, session unavailable, and teaching composer. Safe-area and Heute header layout on 390px viewports. Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
17 lines
811 B
TypeScript
17 lines
811 B
TypeScript
import { expect, test } from "@playwright/test";
|
|
import { completeOnboarding, rpc, signup } from "./helpers";
|
|
|
|
test("empty project space shows Start before the main conversation exists", async ({ page }) => {
|
|
const stamp = Date.now();
|
|
await signup(page, `empty-project-${stamp}@rakazo.test`, "password12", "Empty Project");
|
|
await completeOnboarding(page);
|
|
|
|
const side = await rpc<{ id: string }>(page, "spaces/create", { name: "Empty project" });
|
|
await page.evaluate((spaceId) => {
|
|
window.localStorage.setItem("rakazo:space-id", spaceId);
|
|
}, side.id);
|
|
await page.goto("/app", { waitUntil: "domcontentloaded" });
|
|
await expect(page.getByTestId("project-start-main")).toBeVisible({ timeout: 30_000 });
|
|
await expect(page.getByRole("button", { name: /^Start$|^Starten$/i })).toBeVisible();
|
|
});
|