mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-13 17:52:38 +02:00
test(e2e): wire ClickUp Playwright fixtures
This commit is contained in:
parent
e211028866
commit
68e1d78d23
4 changed files with 100 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ export const CANARY_TOKENS = {
|
|||
linearCanary: "SURFSENSE_E2E_CANARY_TOKEN_LINEAR_001",
|
||||
jiraCanary: "SURFSENSE_E2E_CANARY_TOKEN_JIRA_001",
|
||||
slackCanary: "SURFSENSE_E2E_CANARY_TOKEN_SLACK_001",
|
||||
clickupCanary: "SURFSENSE_E2E_CANARY_TOKEN_CLICKUP_001",
|
||||
} as const;
|
||||
|
||||
/**
|
||||
|
|
@ -183,6 +184,19 @@ export const FAKE_SLACK_CHANNELS = {
|
|||
},
|
||||
} as const;
|
||||
|
||||
/**
|
||||
* Fake ClickUp task IDs that match what the backend MCP fake returns from
|
||||
* clickup_search / clickup_get_task.
|
||||
*/
|
||||
export const FAKE_CLICKUP_TASKS = {
|
||||
canary: {
|
||||
id: "fake-clickup-task-canary-001",
|
||||
name: "E2E Canary ClickUp Task",
|
||||
workspaceId: "fake-clickup-workspace-001",
|
||||
workspaceName: "SurfSense E2E ClickUp Workspace",
|
||||
},
|
||||
} as const;
|
||||
|
||||
/** Generate a unique-per-run search space name. Keeps parallel tests isolated. */
|
||||
export function uniqueSearchSpaceName(prefix = "e2e"): string {
|
||||
return `${prefix}-${randomUUID().slice(0, 8)}`;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue