Files
pbakaus_impeccable/tests/framework-fixtures/vite8-react-brand-fidelity/fixture.json
T
Paul Bakaus 02b1040280 Add Live performance lab and benchmarks
Measure framework and provider latency, enforce fidelity and cleanup gates, and publish reproducible results on the dev-only Live Lab.\n\nAI-assisted: OpenAI Codex.
2026-07-12 17:55:10 -07:00

38 lines
1.3 KiB
JSON

{
"name": "Vite 8 + React + brand fidelity",
"config": {
"files": ["index.html"],
"insertBefore": "</body>",
"commentSyntax": "html"
},
"sourceFiles": ["index.html", "src/App.jsx", "src/main.jsx", "src/styles.css", "vite.config.js"],
"generatedFiles": [],
"wrapCases": [
{
"name": "wraps the benchmark offer card in source JSX",
"args": { "classes": "offer-card", "tag": "article", "text": "Field Notes" },
"expectedFile": "src/App.jsx"
}
],
"runtime": {
"styling": "plain-css",
"install": ["npm", "install", "--no-audit", "--no-fund", "--loglevel=error"],
"devCommand": ["npx", "vite", "--host", "127.0.0.1"],
"readyPattern": "Local:\\s+https?://[^:]+:(\\d+)",
"readyTimeoutMs": 120000,
"pickSelector": "article.offer-card",
"acceptedSourcePattern": "<article[^>]*(class|className)=\"[^\"]*\\boffer-card\\b[^\"]*\"",
"steer": {
"message": "steer-e2e mark offer",
"target": { "classes": "offer-card", "tag": "article" },
"expectSelector": "article.offer-card[data-impeccable-steer=\"e2e\"]",
"expectSourceContains": "data-impeccable-steer=\"e2e\"",
"sourceFile": "src/App.jsx"
},
"probe": {
"expectLiveInit": true,
"expectConsoleClean": true
}
}
}