Initial commit: Brachnha Insight project setup
- 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>
This commit is contained in:
13
tests/e2e/initial-load.spec.ts
Normal file
13
tests/e2e/initial-load.spec.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
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();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user