wip
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user