mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
84e54beac7
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
76 lines
2.7 KiB
TypeScript
76 lines
2.7 KiB
TypeScript
import { randFirstName, randLastName } from '@ngneat/falso';
|
||
|
||
export const BACKEND_BASE_URL = 'http://localhost:5678';
|
||
export const N8N_AUTH_COOKIE = 'n8n-auth';
|
||
|
||
const DEFAULT_USER_PASSWORD = 'CypressTest123';
|
||
|
||
export const INSTANCE_OWNER = {
|
||
email: 'nathan@n8n.io',
|
||
password: DEFAULT_USER_PASSWORD,
|
||
firstName: randFirstName(),
|
||
lastName: randLastName(),
|
||
};
|
||
|
||
export const INSTANCE_ADMIN = {
|
||
email: 'admin@n8n.io',
|
||
password: DEFAULT_USER_PASSWORD,
|
||
firstName: randFirstName(),
|
||
lastName: randLastName(),
|
||
};
|
||
|
||
export const INSTANCE_MEMBERS = [
|
||
{
|
||
email: 'rebecca@n8n.io',
|
||
password: DEFAULT_USER_PASSWORD,
|
||
firstName: randFirstName(),
|
||
lastName: randLastName(),
|
||
},
|
||
{
|
||
email: 'mustafa@n8n.io',
|
||
password: DEFAULT_USER_PASSWORD,
|
||
firstName: randFirstName(),
|
||
lastName: randLastName(),
|
||
},
|
||
];
|
||
|
||
export const MANUAL_TRIGGER_NODE_NAME = 'Manual Trigger';
|
||
export const MANUAL_TRIGGER_NODE_DISPLAY_NAME = 'When clicking ‘Test workflow’';
|
||
export const MANUAL_CHAT_TRIGGER_NODE_NAME = 'Chat Trigger';
|
||
export const CHAT_TRIGGER_NODE_DISPLAY_NAME = 'When chat message received';
|
||
export const SCHEDULE_TRIGGER_NODE_NAME = 'Schedule Trigger';
|
||
export const CODE_NODE_NAME = 'Code';
|
||
export const SET_NODE_NAME = 'Set';
|
||
export const EDIT_FIELDS_SET_NODE_NAME = 'Edit Fields';
|
||
export const IF_NODE_NAME = 'If';
|
||
export const MERGE_NODE_NAME = 'Merge';
|
||
export const SWITCH_NODE_NAME = 'Switch';
|
||
export const GMAIL_NODE_NAME = 'Gmail';
|
||
export const TRELLO_NODE_NAME = 'Trello';
|
||
export const NOTION_NODE_NAME = 'Notion';
|
||
export const PIPEDRIVE_NODE_NAME = 'Pipedrive';
|
||
export const HTTP_REQUEST_NODE_NAME = 'HTTP Request';
|
||
export const AGENT_NODE_NAME = 'AI Agent';
|
||
export const BASIC_LLM_CHAIN_NODE_NAME = 'Basic LLM Chain';
|
||
export const AI_MEMORY_WINDOW_BUFFER_MEMORY_NODE_NAME = 'Window Buffer Memory';
|
||
export const AI_TOOL_CALCULATOR_NODE_NAME = 'Calculator';
|
||
export const AI_TOOL_CODE_NODE_NAME = 'Code Tool';
|
||
export const AI_TOOL_WIKIPEDIA_NODE_NAME = 'Wikipedia';
|
||
export const AI_TOOL_HTTP_NODE_NAME = 'HTTP Request Tool';
|
||
export const AI_LANGUAGE_MODEL_OPENAI_CHAT_MODEL_NODE_NAME = 'OpenAI Chat Model';
|
||
export const AI_MEMORY_POSTGRES_NODE_NAME = 'Postgres Chat Memory';
|
||
export const AI_OUTPUT_PARSER_AUTO_FIXING_NODE_NAME = 'Auto-fixing Output Parser';
|
||
export const WEBHOOK_NODE_NAME = 'Webhook';
|
||
export const EXECUTE_WORKFLOW_NODE_NAME = 'Execute Workflow';
|
||
|
||
export const META_KEY = Cypress.platform === 'darwin' ? 'meta' : 'ctrl';
|
||
|
||
export const NEW_GOOGLE_ACCOUNT_NAME = 'Gmail account';
|
||
export const NEW_TRELLO_ACCOUNT_NAME = 'Trello account';
|
||
export const NEW_NOTION_ACCOUNT_NAME = 'Notion account';
|
||
export const NEW_QUERY_AUTH_ACCOUNT_NAME = 'Query Auth account';
|
||
|
||
export const ROUTES = {
|
||
NEW_WORKFLOW_PAGE: '/workflow/new',
|
||
};
|