mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
ci: Fix env issues in e2e tests (no-changelog) (#7719)
This commit is contained in:
parent
0cebd28582
commit
2844ce2bd2
|
@ -6,15 +6,12 @@ import { inTest, inE2ETests } from '@/constants';
|
|||
|
||||
if (inE2ETests) {
|
||||
// Skip loading config from env variables in end-to-end tests
|
||||
process.env = {
|
||||
E2E_TESTS: 'true',
|
||||
EXECUTIONS_PROCESS: 'main',
|
||||
N8N_DIAGNOSTICS_ENABLED: 'false',
|
||||
N8N_PUBLIC_API_DISABLED: 'true',
|
||||
EXTERNAL_FRONTEND_HOOKS_URLS: '',
|
||||
N8N_PERSONALIZATION_ENABLED: 'false',
|
||||
N8N_AI_ENABLED: 'true',
|
||||
};
|
||||
process.env.EXECUTIONS_PROCESS = 'main';
|
||||
process.env.N8N_DIAGNOSTICS_ENABLED = 'false';
|
||||
process.env.N8N_PUBLIC_API_DISABLED = 'true';
|
||||
process.env.EXTERNAL_FRONTEND_HOOKS_URLS = '';
|
||||
process.env.N8N_PERSONALIZATION_ENABLED = 'false';
|
||||
process.env.N8N_AI_ENABLED = 'true';
|
||||
} else if (inTest) {
|
||||
process.env.N8N_LOG_LEVEL = 'silent';
|
||||
process.env.N8N_ENCRYPTION_KEY = 'test-encryption-key';
|
||||
|
|
Loading…
Reference in a new issue