mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-13 05:47:31 -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) {
|
if (inE2ETests) {
|
||||||
// Skip loading config from env variables in end-to-end tests
|
// Skip loading config from env variables in end-to-end tests
|
||||||
process.env = {
|
process.env.EXECUTIONS_PROCESS = 'main';
|
||||||
E2E_TESTS: 'true',
|
process.env.N8N_DIAGNOSTICS_ENABLED = 'false';
|
||||||
EXECUTIONS_PROCESS: 'main',
|
process.env.N8N_PUBLIC_API_DISABLED = 'true';
|
||||||
N8N_DIAGNOSTICS_ENABLED: 'false',
|
process.env.EXTERNAL_FRONTEND_HOOKS_URLS = '';
|
||||||
N8N_PUBLIC_API_DISABLED: 'true',
|
process.env.N8N_PERSONALIZATION_ENABLED = 'false';
|
||||||
EXTERNAL_FRONTEND_HOOKS_URLS: '',
|
process.env.N8N_AI_ENABLED = 'true';
|
||||||
N8N_PERSONALIZATION_ENABLED: 'false',
|
|
||||||
N8N_AI_ENABLED: 'true',
|
|
||||||
};
|
|
||||||
} else if (inTest) {
|
} else if (inTest) {
|
||||||
process.env.N8N_LOG_LEVEL = 'silent';
|
process.env.N8N_LOG_LEVEL = 'silent';
|
||||||
process.env.N8N_ENCRYPTION_KEY = 'test-encryption-key';
|
process.env.N8N_ENCRYPTION_KEY = 'test-encryption-key';
|
||||||
|
|
Loading…
Reference in a new issue