- Next.js 14+ with App Router and TypeScript - Tailwind CSS and ShadCN UI styling - Zustand state management - Dexie.js for IndexedDB (local-first data) - Auth.js v5 for authentication - BMAD framework integration Co-Authored-By: Claude <noreply@anthropic.com>
14 lines
408 B
TypeScript
14 lines
408 B
TypeScript
import { test, expect } from '@playwright/test';
|
|
|
|
test.describe('Initial Load', () => {
|
|
test('should render empty state history feed for new user', async ({ page }) => {
|
|
// GIVEN: New user (empty DB)
|
|
|
|
// WHEN: Load home page
|
|
await page.goto('/');
|
|
|
|
// THEN: 'No entries yet' message visible
|
|
await expect(page.getByText('No entries yet')).toBeVisible();
|
|
});
|
|
});
|