mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
be4f54de15
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com>
72 lines
2.4 KiB
TypeScript
72 lines
2.4 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 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 = 'Custom Code Tool';
|
||
export const AI_TOOL_WIKIPEDIA_NODE_NAME = 'Wikipedia';
|
||
export const AI_LANGUAGE_MODEL_OPENAI_CHAT_MODEL_NODE_NAME = 'OpenAI Chat Model';
|
||
export const AI_OUTPUT_PARSER_AUTO_FIXING_NODE_NAME = 'Auto-fixing Output Parser';
|
||
export const WEBHOOK_NODE_NAME = 'Webhook';
|
||
|
||
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',
|
||
};
|