Files
whynot-design/.gitignore
tegwick e4e3fe069c feat(adapter): make parity-lit — contract + visual parity (WHYNOT-WP-0002 T08)
Render every <wn-*> in a real browser (Playwright, --no-sandbox; reuses an
external static server when present) and write the adapter-contract parity result
to adapters/lit/parity/_parity.json:

- Contract parity: element must upgrade + carry no attribute-mismatch vs IR
  (computed statically via scaffold.componentDrift, avoiding runtime
  type-coercion false positives). prop-missing is a coverage note, not a failure.
- Visual parity: render smoke (non-empty + positive box) + per-component
  screenshot artifact (gitignored). Pixel-exact regression stays with the
  Playwright baseline suite; IR exemplars are gallery cards, not single-component
  baselines, so they are the human reference, not an auto pixel gate.
- Result: 10 components, contractFail=0 visualFail=0, PipelineStrip skipped
  (wn-pipeline-strip rename drift). Exit 4 on failure.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 09:16:13 +02:00

25 lines
540 B
Plaintext

node_modules
dist
.DS_Store
*.log
# Playwright
playwright-report
test-results
/tests/visual/**/__diff__
# Visual baselines are generated locally, not committed (large binary test
# artifacts). Run `pnpm test:visual:update` to (re)generate before diffing.
/tests/visual/**/*-snapshots/
# Python (scripts/check_designbook_staleness.py)
__pycache__
*.pyc
# Editor
.vscode
.idea
# Adapter parity render-smoke screenshots (regenerated by make parity-lit; the
# committed result is adapters/lit/parity/_parity.json)
adapters/lit/parity/*.png