Commit graph

4 commits

Author SHA1 Message Date
45d588ad2b E2E test improvements: auto-start services, use Brave browser
- Add BotServerInstance::start_with_main_stack() for using real LLM
- Update E2E tests to auto-start BotServer and BotUI if not running
- Prefer Brave browser over Chrome/Chromium for CDP testing
- Upgrade chromiumoxide to 0.8
- Add browser window position/size for visibility
- Fix chat tests to require BotUI for chat interface
- Add browser_service.rs for CDP-based browser management
- Remove chromedriver dependency (use CDP directly)
2025-12-15 13:57:05 -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
fe4c58d155 Fix compilation errors and unused imports in bottest
- Fix platform_flow.rs to use correct Browser API methods:
  - navigate -> goto
  - wait_for_element -> wait_for(Locator::css(...))
  - fill_input -> fill(Locator::css(...), text)
  - click(selector, timeout) -> click(Locator::css(selector))
  - get_current_url(timeout) -> current_url()
  - get_text -> text(Locator::css(...))
  - press_key -> input.send_keys()
- Fix e2e test imports (auth_flow, chat, dashboard)
- Remove unused pub use statements in bot/mod.rs and web/mod.rs
- Remove duplicate check_webdriver_available function
2025-12-06 13:38:54 -03:00
157a727334 - Initial import. 2025-12-06 11:05:57 -03:00