Commit Graph

9 Commits

Author SHA1 Message Date
d-kimsuon
90e260f11e feat(e2e): add sidechain task modal interactions to session detail capture
- Implemented a new capture case for the "sidechain-task-modal" in the session detail E2E tests.
- Added data-testid attributes to the SidechainConversationModal for improved test targeting.
- Enhanced the GitController to handle errors gracefully when fetching branches and commits, returning an empty response on failure.
2025-10-18 17:48:15 +09:00
d-kimsuon
1e62eeb856 feat(e2e): enhance end-to-end testing setup with new scripts and capture cases
- Updated package.json to include new E2E scripts for execution and snapshot capturing.
- Added new capture cases for the "new-project-modal" and "start-new-chat" functionalities in the E2E tests.
- Increased wait times in session detail captures to ensure elements are fully loaded before interactions.
- Introduced new shell scripts for starting the server and capturing snapshots, improving the E2E testing workflow.
- Updated NewChatModal and SessionsTab components to include data-testid attributes for better test targeting.
2025-10-18 17:48:15 +09:00
d-kimsuon
45ebfad36a refactor: firstCommand 2025-10-18 03:48:39 +09:00
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
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