- Fixed E2E test assertions to match actual container behavior
- Added test:e2e npm script for running E2E tests
- Removed 14 obsolete shell test scripts replaced by Jest E2E tests
- Updated CLAUDE.md documentation with E2E test command
- Created MIGRATION_NOTICE.md documenting the test migration
- Applied consistent formatting with Prettier and ESLint
All 80 E2E tests now pass successfully. The tests work with mock credentials
and gracefully skip tests requiring real tokens (GitHub, AWS, Anthropic).
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Implements Phase 1.1 of testing modernization:
- Consolidates 16 shell scripts into 8 comprehensive Jest E2E test suites
- Creates modular test utilities (ContainerExecutor, testHelpers) for reusable functionality
- Implements conditional test skipping when Docker images are unavailable
- Provides programmatic Docker command execution with proper error handling and timeouts
- Maintains backward compatibility while enabling automated validation and CI/CD integration
New E2E test structure:
- container-execution.test.js: Basic container functionality and lifecycle management
- claude-integration.test.js: Claude API and CLI integration testing
- aws-authentication.test.js: AWS credential mounting and profile validation
- security-firewall.test.js: Firewall initialization and security capabilities
- github-integration.test.js: GitHub CLI and webhook integration
- full-workflow.test.js: End-to-end workflow testing
- docker-execution.test.js: Docker runtime validation and error handling
- api-integration.test.js: API and credential integration testing
Benefits:
- Automated validation with consistent reporting
- CI/CD integration support
- Better error handling and debugging
- Modular and maintainable test structure
- Graceful handling of missing dependencies
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>