mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-13 17:52:38 +02:00
test(web): add Jira live-tool journey
This commit is contained in:
parent
ddfbe0b611
commit
1bd7cad495
2 changed files with 100 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ export const CANARY_TOKENS = {
|
|||
calendarCanary: "SURFSENSE_E2E_CANARY_TOKEN_CALENDAR_001",
|
||||
notionCanary: "SURFSENSE_E2E_CANARY_TOKEN_NOTION_001",
|
||||
linearCanary: "SURFSENSE_E2E_CANARY_TOKEN_LINEAR_001",
|
||||
jiraCanary: "SURFSENSE_E2E_CANARY_TOKEN_JIRA_001",
|
||||
} as const;
|
||||
|
||||
/**
|
||||
|
|
@ -113,6 +114,20 @@ export const FAKE_LINEAR_ISSUES = {
|
|||
},
|
||||
} as const;
|
||||
|
||||
/**
|
||||
* Fake Jira issue IDs that match what the backend MCP fake returns from
|
||||
* searchJiraIssuesUsingJql.
|
||||
*/
|
||||
export const FAKE_JIRA_ISSUES = {
|
||||
canary: {
|
||||
id: "fake-jira-issue-canary-001",
|
||||
key: "E2E-101",
|
||||
summary: "E2E Canary Jira Issue",
|
||||
cloudId: "fake-jira-cloud-001",
|
||||
siteUrl: "https://surfsense-e2e.atlassian.net",
|
||||
},
|
||||
} 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