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>
24 lines
545 B
TypeScript
24 lines
545 B
TypeScript
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',
|
|
timeout: 60_000,
|
|
reuseExistingServer: !process.env.CI,
|
|
},
|
|
})
|