mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-08-28 19:11:03 +08:00
feat: add visual regression tests for kilo-ui with Playwright
- Add @playwright/test, playwright.config.ts (Chromium, 1280x720) - Test file auto-discovers all stories from Storybook's index.json - Screenshots cropped to #storybook-root, grouped per component - CI workflow on Blacksmith with Storybook/Playwright/Bun caching - Paths filter: only runs when kilo-ui or its deps change - Auto-commits missing baselines back to the branch via CI - Skips head-only (Font, Favicon) and non-deterministic (Typewriter) stories - Documented in CONTRIBUTING.md
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
# Git LFS tracking for binary/media files
|
||||
*.gif filter=lfs diff=lfs merge=lfs -text
|
||||
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
# Visual regression baseline snapshots
|
||||
packages/kilo-ui/tests/**/*.png filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
Reference in New Issue
Block a user