import { test, expect } from '@playwright/test'; // E2E smoke: the app serves and the health route responds. // Later cards extend this to walk the full 5-state capture flow. test('M1-1 harness smoke: app serves + health ok', async ({ page, request }) => { await page.goto('/'); await expect(page).toHaveTitle(/SlabUploader/); const res = await request.get('/api/health'); expect(res.ok()).toBeTruthy(); const body = await res.json(); expect(body.ok).toBe(true); });