Commit Graph

33 Commits

Author SHA1 Message Date
c698a0b893 wip 2025-12-04 15:15:24 +01:00
b7d5551ea7 wip 2025-12-04 11:54:42 +01:00
c0fdae3d3c wip 2025-12-03 16:33:12 +01:00
086fdc1ea1 wip 2025-12-01 19:28:49 +01:00
98a09a3f2b wip 2025-12-01 17:27:56 +01:00
e7ada8aa23 wip 2025-12-01 00:48:34 +01:00
645f537895 wip 2025-11-30 23:00:48 +01:00
4b8c70978f wip 2025-11-30 17:37:03 +01:00
65f74e124a wip 2025-11-30 16:45:59 +01:00
9a1feb2912 wip 2025-11-30 14:00:46 +01:00
f8a1fbeb50 Refactor infra tests, clean E2E step suites, and fix TS in tests 2025-11-30 10:58:49 +01:00
af14526ae2 refactoring 2025-11-30 02:07:08 +01:00
f552649357 wip 2025-11-27 18:14:25 +01:00
1348c37675 dumps optimized 2025-11-27 14:46:11 +01:00
6a0cab6cc6 wip 2025-11-27 13:26:17 +01:00
502d9084e7 wip 2025-11-27 02:23:59 +01:00
1d7c4f78d1 feat(overlay-sync): wire OverlaySyncService into DI, IPC and renderer gating 2025-11-26 19:14:25 +01:00
b6b8303f38 chore(test): make DIContainer tolerant to missing electron.app for vitest 2025-11-26 17:17:02 +01:00
fef75008d8 wip 2025-11-26 17:03:29 +01:00
e2bea9a126 working companion prototype 2025-11-24 23:32:36 +01:00
73aaeb8b35 fix(automation): enable real OS automation for development mode 2025-11-22 18:30:32 +01:00
84800c663a refactor(automation): remove browser automation, use OS-level automation only 2025-11-22 17:57:35 +01:00
99fa06e12b fix(companion): resolve fixtures path correctly for both dev and built modes 2025-11-22 17:31:21 +01:00
515aef71bb fix(companion): resolve fixtures path correctly in Electron runtime 2025-11-22 16:55:13 +01:00
78fc323e43 feat(automation): implement NODE_ENV-based automation mode with fixture server 2025-11-22 16:37:32 +01:00
d4fa7afc6f fix(config): change default automation mode from production to mock 2025-11-22 15:52:57 +01:00
bb8b152b8a feat(e2e): add Docker-based E2E test infrastructure 2025-11-22 15:40:23 +01:00
265b070606 feat(automation): add OS-level screen automation foundation services 2025-11-22 14:09:39 +01:00
81b2fd3cd3 feat(ci): add husky pre-commit hook and fix puppeteer-core chrome detection 2025-11-22 13:37:39 +01:00
3a60ffae91 feat(logging): add professional logging with pino and headless E2E tests - Add ILogger port interface in application layer - Implement PinoLogAdapter with Electron-compatible structured logging - Add NoOpLogAdapter for testing - Wire logging into DI container and all adapters - Create 32 E2E tests for automation workflow (headless-only) - Add vitest.e2e.config.ts for E2E test configuration - All tests enforce HEADLESS mode (no headed browser allowed) 2025-11-22 01:02:38 +01:00
27dd4b87a5 feat(automation): add nut.js OS-level automation adapter per architecture spec - Create NutJsAutomationAdapter implementing IBrowserAutomation with OS-level mouse/keyboard control - Use mouse.move(), mouse.leftClick(), keyboard.type(), keyboard.pressKey() for real OS automation - Cross-platform support (Command key for macOS, Control key for Windows/Linux) - Production mode in DI container now uses NutJsAutomationAdapter - Add mouseSpeed and keyboardDelay configuration options - Add companion:production npm script for production mode - Step 18 (TRACK_CONDITIONS) maintains safety stop before checkout 2025-11-21 21:53:46 +01:00
a980a288ea feat(automation): implement dual-mode browser automation with DevTools adapter - Add explicit result types for all automation operations (NavigationResult, FormFillResult, ClickResult, WaitResult, ModalResult) - Implement BrowserDevToolsAdapter for real browser automation via Chrome DevTools Protocol - Create IRacingSelectorMap with CSS selectors for all 18 workflow steps - Add AutomationConfig for environment-based adapter selection (mock/dev/production) - Update DI container to support mode switching via AUTOMATION_MODE env var - Add 54 new tests (34 integration + 20 unit), total now 212 passing - Add npm scripts: companion:mock, companion:devtools, chrome:debug 2025-11-21 19:54:37 +01:00
098bfc2c11 feat(companion): implement hosted session automation POC with TDD approach 2025-11-21 16:27:15 +01:00