Commit graph

6 commits

Author SHA1 Message Date
126abe2d10 feat: default to USE_EXISTING_STACK for faster e2e tests
Use FULL_BOOTSTRAP=1 to run full bootstrap instead
2025-12-14 16:40:07 -03:00
af41ecbdb0 feat: add BotUI orchestration for e2e browser tests
- Add BotUIInstance struct to start botui alongside botserver
- Update E2ETestContext to start botui and use its URL as base_url
- Add start_botui() method to TestContext
- Fix harness to use env vars BOTUI_PORT and BOTSERVER_URL for botui
- Update harness to use debug build by default
- Add SKIP_LLM_SERVER env var to skip local LLM server in tests
- Make stack_path absolute and canonicalize botserver paths
2025-12-14 15:59:07 -03:00
9f7844580d refactor: improve test harness and browser automation
- Update harness.rs, main.rs, ports.rs
- Add chromedriver service module
- Update browser automation in web/browser.rs
- Update e2e test module
2025-12-07 02:14:37 -03:00
8fdd3b7be8 Fix test harness and e2e tests
- PostgresService: Find PostgreSQL from system paths or botserver-stack
- MinioService: Find MinIO from system paths or botserver-stack
- BotServerInstance: Pass --stack-path to create clean test stack
- Fix test_mock_services_available to only check enabled services
- Fix test_full_harness_has_all_services for current config
- Fix test_botserver_startup to skip if botserver not available
- All 41 e2e tests now pass
2025-12-06 14:55:59 -03:00
de58bc16a0 Add comprehensive E2E testing framework with platform flow
- Create platform_flow.rs with complete user journey test (load → botserver → login → chat → logout)
- Add TEMP_STACK_SETUP.md guide for using temporary isolated stacks
- Add E2E_TESTING_PLAN.md with architecture and implementation strategy
- Update e2e mod.rs to include new platform_flow module
- Include helpers for: platform loading, botserver verification, login, chat, logout
- Support for headless and headed browser testing
- Environment variable configuration for WebDriver, timeouts, logging
2025-12-06 11:15:14 -03:00
157a727334 - Initial import. 2025-12-06 11:05:57 -03:00