feat(frontend): Storybook + auto-generated Playwright e2e docs with screenshots (#30)
Some checks failed
CI/CD Pipeline / Build Docker Cache (push) Successful in 8s
CI/CD Pipeline / Trigger Docker Push (push) Has been cancelled
CI/CD Pipeline / CI Pipeline (push) Has been cancelled

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>
This commit was merged in pull request #30.
This commit is contained in:
2026-05-03 16:40:27 +02:00
committed by arcodange
parent 301471f728
commit a57bf4dd19
14 changed files with 2531 additions and 31 deletions

View File

@@ -1,10 +1,19 @@
import { defineConfig } from '@playwright/test'
import path from 'path'
export default defineConfig({
testDir: './tests/e2e',
timeout: 30_000,
reporter: [
['list'],
['json', { outputFile: path.join(process.cwd(), 'test-results', 'results.json') }],
],
use: {
baseURL: 'http://localhost:3000',
screenshot: 'on',
video: 'off',
},
outputDir: 'test-results/output',
webServer: {
command: 'npm run dev',
url: 'http://localhost:3000',