evOo-local/apps/web/e2e/onboarding-complete.spec.ts
Ingo Wagner cce793151e fix(ui): remove Integrations button from sidebar, add E2E tests
- Remove 'Integrationen' button from sidebar (Shell.tsx)
- Fix auth heading text: 'Create your Rakazo' → 'Create your EvOo'
- Fix completeOnboarding helper: handle setup progress, dismiss overlays
- Fix vite proxy CORS: use proxyRes handler instead of headers option
- Add local provider fallback in modelSetup
- Add 4 new E2E tests (all passing):
  - sidebar-integrations-removed: Integrations button not in sidebar
  - sidebar-nav: expected nav items present, no Integrations
  - message-send: composer interactive, message appears
  - onboarding-complete: full onboarding flow works
- Add playwright config: PLAYWRIGHT_NO_SERVER support
2026-09-22 15:46:05 +00:00

27 lines
1.0 KiB
TypeScript

/**
* E2E: Complete onboarding flow end-to-end.
*/
import { expect, test } from "@playwright/test";
import { captureScreenshot, completeOnboarding, signup } from "./helpers";
test.describe.configure({ mode: "serial" });
test("complete onboarding flow to chat", async ({ page }) => {
const testInfo = test.info();
const stamp = Date.now();
await signup(page, `onboard-${stamp}@rakazo.test`, "password12", "Onboard");
await completeOnboarding(page);
await expect(page.getByText("Chief").first()).toBeVisible();
await expect(page.getByRole("combobox", { name: "Message" })).toBeVisible();
await captureScreenshot(page, testInfo, "onboard-complete");
});
test("onboarding with avatar customization step shown", async ({ page }) => {
const testInfo = test.info();
const stamp = Date.now();
await signup(page, `avatar-${stamp}@rakazo.test`, "password12", "Avatar");
await completeOnboarding(page);
await expect(page.getByText("Chief").first()).toBeVisible();
await captureScreenshot(page, testInfo, "avatar-complete");
});