Storybook 8 + Playwright JSON reporter + auto-generated markdown docs with embedded screenshots and breadcrumbs. Frontend PRs now reviewable from Gitea web UI. ~95% Mistral autonomous via ICM workspace, trainer commit/PR (Mistral hit turn limit). Co-authored-by: Gabriel Radureau <arcodange@gmail.com> Co-committed-by: Gabriel Radureau <arcodange@gmail.com>
10 lines
457 B
TypeScript
10 lines
457 B
TypeScript
import { test, expect } from '@playwright/test'
|
|
|
|
test('home page loads and shows server health info', async ({ page }) => {
|
|
await page.goto('/')
|
|
await expect(page.getByTestId('health-dashboard')).toBeVisible()
|
|
const heading = page.getByRole('heading', { name: /dance-lessons-coach/i })
|
|
await expect(heading).toBeVisible()
|
|
await page.screenshot({ path: 'tests/e2e/screenshots/home-page-loads-and-shows-server-health-info.png', fullPage: true })
|
|
})
|