Commit Graph

8 Commits

Author SHA1 Message Date
d-kimsuon
314cdcc749 ci(e2e): start:e2e server before capturing 2025-10-13 14:39:12 +09:00
d-kimsuon
a19d5f627c chore: fix a bit 2025-10-13 14:39:12 +09:00
d-kimsuon
6d081e54b8 ci(e2e): update snapshots on github actions 2025-10-13 14:39:12 +09:00
d-kimsuon
e0983a7b92 fix lint 2025-10-13 14:39:12 +09:00
d-kimsuon
584c0409d3 fix: correct screenshot capture URLs to use port 4000
- Update all capture scripts to use http://localhost:4000 instead of 3400
- Port 4000 is used by the E2E server with mock data environment
- Add .env.local with GLOBAL_CLAUDE_DIR configuration
- All 48 screenshots now capture actual page content (verified >1KB file sizes)
- Fix Internal Server Error issues in screenshot captures

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-13 14:39:12 +09:00
d-kimsuon
d56f022e32 feat: add comprehensive screenshot snapshots for visual regression testing
- Add 45 PNG snapshots covering all pages and UI states
- Include device variations (desktop, mobile, tablet) for each state
- Enable visual diff comparison on GitHub for UI changes
- Remove snapshots from .gitignore to include in version control

Snapshot coverage:
- Root page: 3 snapshots
- Projects page: 6 snapshots (default, empty states)
- Project detail: 9 snapshots (default, filters-expanded, new-chat-modal)
- Session detail: 18 snapshots (default, sidebar-open across 3 session UUIDs)
- Error pages: 9 snapshots (404, invalid-project, invalid-session)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-13 14:39:12 +09:00
d-kimsuon
c40b07ac83 refactor: replace e2e tests with screenshot capture system
- Delete all Playwright test files from e2e/tests/
- Create new screenshot capture system in e2e/captureSnapshot/
- Add unified execution script (index.ts) to run all captures
- Implement state-based snapshot organization:
  - snapshots/{page}/{state}/{device}.png structure
  - Multiple UI states per page (default, filters-expanded, sidebar-open, etc.)
- Support real session UUIDs and comprehensive page coverage
- Enable single-command execution: npx tsx e2e/captureSnapshot/index.ts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-13 14:39:11 +09:00
d-kimsuon
ecc8257fc6 chore: poc e2e 2025-10-13 14:38:44 +09:00