Initialize Next.js 16 (App Router) project with all core dependencies: - Next.js, React 19, TypeScript configuration - Mantine UI components (@mantine/core, @mantine/hooks) - ATproto SDK for Bluesky integration - SurrealDB client (updated to latest non-deprecated version) - Vercel AI SDK with Google AI provider - Deepgram SDK for voice-to-text - React Three Fiber for 3D visualization - UMAP.js for dimensionality reduction - Magnitude test framework for E2E testing - Playwright for browser automation Created basic app structure with homepage displaying "Ponderants" text. Configured magnitude.config.ts for testing framework. Added .example.env with all required environment variables. Test: Smoke test verifies app boots and renders homepage. Status: ✓ Test passed (8.4s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
12 lines
426 B
TypeScript
12 lines
426 B
TypeScript
import { test } from 'magnitude-test';
|
|
|
|
test('Application boots and displays homepage', async (agent) => {
|
|
// Act: Navigate to the homepage (uses the default URL
|
|
// from magnitude.config.ts)
|
|
await agent.act('Navigate to the homepage');
|
|
|
|
// Check: Verify that the homepage text is visible
|
|
// This confirms the Next.js app is serving content.
|
|
await agent.check('The text "Ponderants" is visible on the screen');
|
|
});
|