test(e2e): wire PDF metadata into connector fixture JSONs

This commit is contained in:
Anish Sarkar 2026-05-09 05:02:40 +05:30
parent fc32ab0cf3
commit ad226853e5
3 changed files with 209 additions and 153 deletions

View file

@ -1,19 +1,34 @@
{
"": [
{
".tag": "file",
"id": "id:fake-dropbox-canary",
"name": "e2e-dropbox-canary.txt",
"path_lower": "/e2e-dropbox-canary.txt",
"path_display": "/e2e-dropbox-canary.txt",
"size": 152,
"is_downloadable": true,
"server_modified": "2026-05-08T00:00:00Z",
"client_modified": "2026-05-08T00:00:00Z",
"content_hash": "fake-dropbox-hash-001"
}
],
"_file_contents": {
"/e2e-dropbox-canary.txt": "Canary token for Dropbox E2E tests: SURFSENSE_E2E_CANARY_TOKEN_DROPBOX_001\nThis file proves the Dropbox indexing pipeline ran end-to-end."
}
"": [
{
".tag": "file",
"id": "id:fake-dropbox-canary",
"name": "e2e-dropbox-canary.txt",
"path_lower": "/e2e-dropbox-canary.txt",
"path_display": "/e2e-dropbox-canary.txt",
"size": 152,
"is_downloadable": true,
"server_modified": "2026-05-08T00:00:00Z",
"client_modified": "2026-05-08T00:00:00Z",
"content_hash": "fake-dropbox-hash-001"
},
{
".tag": "file",
"id": "id:fake-dropbox-pdf-canary",
"name": "e2e-dropbox-canary.pdf",
"path_lower": "/e2e-dropbox-canary.pdf",
"path_display": "/e2e-dropbox-canary.pdf",
"size": 727,
"is_downloadable": true,
"server_modified": "2026-05-08T00:05:00Z",
"client_modified": "2026-05-08T00:05:00Z",
"content_hash": "fake-dropbox-hash-pdf-001"
}
],
"_file_contents": {
"/e2e-dropbox-canary.txt": "Canary token for Dropbox E2E tests: SURFSENSE_E2E_CANARY_TOKEN_DROPBOX_001\nThis file proves the Dropbox indexing pipeline ran end-to-end."
},
"_file_binary_paths": {
"/e2e-dropbox-canary.pdf": "binary/dropbox-canary.pdf"
}
}