This commit is contained in:
2025-12-01 17:27:56 +01:00
parent e7ada8aa23
commit 98a09a3f2b
41 changed files with 2341 additions and 1525 deletions

View File

@@ -6,19 +6,12 @@ import { defineConfig } from 'vitest/config';
* IMPORTANT: E2E tests run against real OS automation.
* This configuration includes strict timeouts to prevent hanging.
*/
const RUN_REAL_AUTOMATION_SMOKE = process.env.RUN_REAL_AUTOMATION_SMOKE === '1';
export default defineConfig({
test: {
globals: true,
environment: 'node',
include: ['tests/e2e/**/*.e2e.test.ts'],
exclude: RUN_REAL_AUTOMATION_SMOKE
? ['tests/e2e/companion/companion-ui-full-workflow.e2e.test.ts']
: [
'tests/e2e/automation.e2e.test.ts',
'tests/e2e/companion/companion-ui-full-workflow.e2e.test.ts',
],
exclude: ['tests/e2e/companion/companion-ui-full-workflow.e2e.test.ts'],
// E2E tests use real automation - set strict timeouts to prevent hanging
// Individual tests: 30 seconds max
testTimeout: 30000,