Files
wursor/e2e/tests/chat-flow.test.ts
T
Claude e314819629 feat(web): migrate to Next.js App Router and add design tokens (ADR 0018)
The Sprint 1 shell moves to /app with its own root layout so its dark theme does not leak. Figma tokens ported with light and dark parity.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014SdXCbrN5PtGExkpvMaMHx
2026-10-12 14:55:59 +00:00

13 lines
502 B
TypeScript

import { test, expect } from '@playwright/test';
test('user signs up and sees the chat interface', async ({ page }) => {
await page.goto('/app');
await page.getByLabel('Email').fill(`e2e-${Date.now()}@example.com`);
await page.getByLabel('Password').fill('password123');
await page.getByRole('button', { name: 'Sign up' }).click();
await expect(page.locator('.wursor-chat-input')).toBeVisible();
await expect(page.locator('.wursor-welcome')).toContainText('Describe what you want');
});