wip
This commit is contained in:
@@ -1,16 +1,19 @@
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
|
||||
/**
|
||||
* E2E Test Configuration
|
||||
*
|
||||
* 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/automation.e2e.test.ts'],
|
||||
// E2E tests use real automation - set strict timeouts to prevent hanging
|
||||
// Individual tests: 30 seconds max
|
||||
testTimeout: 30000,
|
||||
|
||||
Reference in New Issue
Block a user