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
13 lines
502 B
TypeScript
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');
|
|
});
|