5 Commits

Author SHA1 Message Date
marius-kilocode bb9680bc22 chore(ci): reduce test log noise 2026-06-29 16:10:51 +02:00
kiloconnect[bot] 618193283c chore: move visual baselines into docs assets 2026-04-21 09:16:50 +00:00
Imanol Maiztegui 60a7c7a9fd fix: run script/format.ts 2026-03-12 12:06:20 +01:00
Mark IJbema 984e05d8a0 fix: address review comments
- Add package.json to Storybook cache key (dep version changes invalidate cache)
- Add res.ok check before parsing Storybook index JSON
- Remove duplicate maxDiffPixelRatio (already in playwright.config.ts)
- Use parseInt for PLAYWRIGHT_WORKERS to handle non-numeric values
2026-03-02 15:43:11 +01:00
Mark IJbema 77609c35f6 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
2026-03-02 15:43:11 +01:00