-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
E2E Tests with LocalStack + VHS 🧪
Automated UI testing using LocalStack for AWS simulation and VHS for TUI recording.
Stack
- LocalStack: Local AWS environment
- VHS: Terminal recording/testing tool
- CI Integration: Run on GitHub Actions
Test Scenarios
1. Launch claws → verify dashboard renders
2. Navigate to EC2 → verify instances list
3. Filter with '/' → verify filtering works
4. View details with Enter → verify detail view
5. Action menu with 'a' → verify actions display
VHS Tape Example
Set Shell "bash"
Type "claws"
Enter
Sleep 2s
Type "s"
Sleep 1s
Type "/web"
Sleep 500ms
Screenshot "filter-test.png"
Implementation
- LocalStack docker-compose setup
- Seed data scripts (create test resources)
- VHS tape files for each test scenario
- GitHub Actions workflow
- Screenshot comparison (optional)
Benefits
- Catch UI regressions
- Validate navigation flows
- Demo generation automation
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request