2023-06-22 15:38:12 -07:00
|
|
|
import { randFirstName, randLastName } from '@ngneat/falso';
|
2023-06-15 04:40:23 -07:00
|
|
|
|
2023-06-22 15:38:12 -07:00
|
|
|
export const BACKEND_BASE_URL = 'http://localhost:5678';
|
2022-11-08 04:21:10 -08:00
|
|
|
export const N8N_AUTH_COOKIE = 'n8n-auth';
|
|
|
|
|
2023-06-22 15:38:12 -07:00
|
|
|
const DEFAULT_USER_PASSWORD = 'CypressTest123';
|
|
|
|
|
|
|
|
export const INSTANCE_OWNER = {
|
|
|
|
email: 'nathan@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(),
|
|
|
|
},
|
|
|
|
];
|
2022-12-14 01:33:44 -08:00
|
|
|
|
|
|
|
export const MANUAL_TRIGGER_NODE_NAME = 'Manual Trigger';
|
2023-02-08 05:48:28 -08:00
|
|
|
export const MANUAL_TRIGGER_NODE_DISPLAY_NAME = 'When clicking "Execute Workflow"';
|
2022-12-14 01:33:44 -08:00
|
|
|
export const SCHEDULE_TRIGGER_NODE_NAME = 'Schedule Trigger';
|
2022-12-15 07:39:59 -08:00
|
|
|
export const CODE_NODE_NAME = 'Code';
|
|
|
|
export const SET_NODE_NAME = 'Set';
|
2023-09-19 03:16:35 -07:00
|
|
|
export const EDIT_FIELDS_SET_NODE_NAME = 'Edit Fields';
|
2023-02-08 05:48:28 -08:00
|
|
|
export const IF_NODE_NAME = 'IF';
|
|
|
|
export const MERGE_NODE_NAME = 'Merge';
|
|
|
|
export const SWITCH_NODE_NAME = 'Switch';
|
2023-01-27 00:05:43 -08:00
|
|
|
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';
|
2022-12-20 01:33:20 -08:00
|
|
|
|
|
|
|
export const META_KEY = Cypress.platform === 'darwin' ? '{meta}' : '{ctrl}';
|
2023-01-27 00:05:43 -08:00
|
|
|
|
|
|
|
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';
|