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)

This commit is contained in:
2025-11-22 01:02:38 +01:00
parent 7eae6e3bd4
commit 3a60ffae91
13 changed files with 1287 additions and 14 deletions

View File

@@ -17,5 +17,19 @@ export default defineConfig({
'**/dist/**',
],
},
// Longer timeout for integration tests
testTimeout: 30000,
},
});
// Separate E2E config - used when running test:e2e script
export const e2eConfig = defineConfig({
test: {
globals: true,
environment: 'node',
include: ['tests/e2e/**/*.e2e.test.ts'],
// E2E tests need longer timeouts due to browser operations
testTimeout: 120000,
hookTimeout: 60000,
},
});