mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-13 17:52:38 +02:00
test(e2e): add OneDrive connector Playwright journey
This commit is contained in:
parent
da8b151634
commit
2d78dda487
5 changed files with 239 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ export const CANARY_TOKENS = {
|
|||
driveArchive: "SURFSENSE_E2E_ARCHIVE_MARKER",
|
||||
gmailCanary: "SURFSENSE_E2E_CANARY_TOKEN_GMAIL_001",
|
||||
calendarCanary: "SURFSENSE_E2E_CANARY_TOKEN_CALENDAR_001",
|
||||
onedriveCanary: "SURFSENSE_E2E_CANARY_TOKEN_ONEDRIVE_001",
|
||||
notionCanary: "SURFSENSE_E2E_CANARY_TOKEN_NOTION_001",
|
||||
confluenceCanary: "SURFSENSE_E2E_CANARY_TOKEN_CONFLUENCE_001",
|
||||
linearCanary: "SURFSENSE_E2E_CANARY_TOKEN_LINEAR_001",
|
||||
|
|
@ -50,6 +51,18 @@ export const FAKE_DRIVE_FOLDERS = {
|
|||
},
|
||||
} as const;
|
||||
|
||||
/**
|
||||
* Fake OneDrive file IDs that match the Microsoft Graph-shaped backend
|
||||
* fake in onedrive_files.json.
|
||||
*/
|
||||
export const FAKE_ONEDRIVE_FILES = {
|
||||
canary: {
|
||||
id: "fake-onedrive-canary",
|
||||
name: "e2e-onedrive-canary.txt",
|
||||
mimeType: "text/plain",
|
||||
},
|
||||
} as const;
|
||||
|
||||
/**
|
||||
* Fake Gmail message IDs that match what the backend fake returns from
|
||||
* GMAIL_FETCH_EMAILS / GMAIL_FETCH_MESSAGE_BY_MESSAGE_ID.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue