zotero/test/tests
Dan Stillman ee68452b05 Disallow slashes in stored-file attachment paths
Someone ended up (via a plugin, presumably) with stored-file attachments
with a full path after 'storage:', which broke file syncing. Throw when
setting a stored-file path containing a slash, and strip paths from
existing filenames in a schema update step. No particular reason to
think that the file with that basename will exist in the storage dir,
but at least it will be looking for the right file and not be totally
broken.

Separately, the dataserver will clean up filenames with full paths and
block going forward.

https://forums.zotero.org/discussion/132822/reference-sychronization-error
2026-07-21 10:40:59 -04:00
..
data Update RDF tests 2026-03-06 16:51:25 -05:00
.eslintrc Add separate .eslintrc for tests 2019-09-16 01:28:52 -04:00
advancedSearchTest.js Don't let embedded note images match searches in the items list 2026-07-13 14:32:40 -04:00
annotationsTest.js Add tests for image annotation placeholder in notes 2026-03-24 12:09:15 -04:00
attachmentReadObserverTest.js Don't mark group attachment as unsynced when opened 2026-05-21 09:58:34 -04:00
attachmentsTest.js Fix auto-renaming not triggering when parent item type changes 2026-06-19 15:04:56 +02:00
bibliographyTest.js Fix remaped styles not working in Document Preferences dialog 2025-12-16 16:33:45 +02:00
browserRequestTest.js Add support for clearing challenge in browser during translation 2026-04-23 15:34:28 -04:00
cachedTypesTest.js Fix primary item types not appearing in More menu when not in MRU list 2021-03-29 01:41:37 -04:00
citationDialogTest.js Citation dialog: Fix grouping of selected and open items 2026-07-13 11:41:19 -04:00
citeprocRsBridgeTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
citeTest.js Add accented stop-words to abbreviations word list 2026-07-20 22:52:51 -04:00
collectionsTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
collectionTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
collectionTreeRowTest.js Item tree refactor megacommit 2026-04-27 14:44:39 -04:00
collectionTreeTest.js Make the collection tree filter accent-insensitive 2026-07-15 15:36:40 -04:00
collectionViewItemTreeTest.js Allow browsing an attachment's annotations in search results 2026-07-01 22:13:38 -04:00
concurrentCallerTest.js Remove Bluebird methods in concurrentCallerTest.js 2025-07-30 22:30:57 -04:00
creatorsTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
dataDirectoryTest.js Remove Chai as Promised 2025-07-30 22:31:08 -04:00
dataObjectsTest.js Properly display annotations as rows of relatedBox (#5585) 2025-12-12 14:55:27 -05:00
dataObjectTest.js Restore timeout in dataObjectTest.js, fix test 2025-07-30 22:30:57 -04:00
dataObjectUtilitiesTest.js Diff saved-search conditions as an ordered list (#5962) 2026-06-25 16:14:38 -04:00
dateTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
dbTest.js Handle stale WAL files in corrupted-database recovery 2026-07-16 11:43:31 -04:00
debugTest.js Test debug output logging again 2023-05-24 20:59:29 +03:00
dictionariesTest.js fx-compat: Fix dictionaries tests 2022-06-19 04:16:53 -04:00
duplicatesTest.js avoid relation to self after merging related items (#5488) 2025-08-15 01:40:01 -04:00
feedItemsTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
feedItemTest.js Remove remaining chai-as-promised method calls 2025-07-30 22:31:08 -04:00
feedReaderTest.js Don't try to reject last feed item when FeedReader terminates 2025-07-30 22:31:08 -04:00
feedsTest.js Use alternate method to test feed check delay 2025-07-30 22:30:56 -04:00
feedTest.js Fix Zotero.Feed tests after chai-as-promised removal 2025-07-30 22:31:08 -04:00
fileChangeWatcherTest.js Fix file-change detection in all libraries after the first one synced 2026-06-10 22:26:13 -04:00
fileHandlersTest.js FileHandlers: Infer PDF pageIndex from annotation key 2025-07-30 11:37:52 -04:00
fileInterfaceTest.js Fix test for Citavi annotation import 2025-10-02 17:17:37 +01:00
fileTest.js Use APFS cloning for file copies on macOS 2026-04-03 14:33:21 -04:00
folderImportTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
fulltextTest.js Fix looping re-extraction of full-text queue items with no text 2026-07-18 14:33:13 -04:00
groupsTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
groupTest.js Remove remaining chai-as-promised method calls 2025-07-30 22:31:08 -04:00
HiddenBrowserTest.js fx140: More progress toward startup 2025-07-30 22:18:36 -04:00
httpTest.js Handle 429 and Retry-After in general HTTP layer 2026-05-20 15:08:52 -04:00
hyphenationTest.js close more leftover windows in tests (#5460) 2025-08-02 01:40:21 -04:00
importExportTest.js Update RDF tests 2026-03-06 16:51:25 -05:00
integrationTest.js Improve Add/Edit Citation button behaviour when cursor is in a non-citation Zotero field (#5935) 2026-06-03 03:51:26 -04:00
intlTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
itemFieldsTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
itemPaneTest.js itemPaneTest: Scroll to attachments pane instead of relying on pin 2026-07-08 10:50:32 -04:00
itemsTest.js Recently Read: Show matching children as regular rows 2026-06-16 13:52:14 -04:00
itemTest.js Disallow slashes in stored-file attachment paths 2026-07-21 10:40:59 -04:00
itemTreeRowTest.js Item tree refactor megacommit 2026-04-27 14:44:39 -04:00
librariesTest.js Remove remaining chai-as-promised method calls 2025-07-30 22:31:08 -04:00
libraryTest.js Remove remaining chai-as-promised method calls 2025-07-30 22:31:08 -04:00
libraryTreeTest.js Tests: Don't auto-select collections and searches after creation 2024-06-24 02:45:20 -04:00
lookupTest.js Fix item tree focus checks broken by view-specific tree IDs 2026-06-08 13:21:15 -04:00
mendeleyImportTest.js Revert treating "arXiv ID" as a field in Mendeley import 2025-12-26 15:55:45 -05:00
mergeItemsTest.js Item merging: Don't merge trashed attachments of any type 2026-03-04 23:14:53 -05:00
mimeTest.js Add EPUB format to Zotero.MIME 2023-08-07 16:07:52 -04:00
noteeditorTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
noteTabTest.js Fix note tab reopen logic (#5706) 2026-01-20 10:56:04 -05:00
notifierTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
openurlTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
pluginAPITest.js Support multiple-collection selection (#5954) 2026-06-18 14:05:55 -04:00
preferences_accountTest.js Fix Account preferences tests 2026-04-14 22:46:37 -04:00
preferences_advancedTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
profileTest.js Fix erroneous data dir reuse in new profile on Windows 2026-04-27 16:04:52 -04:00
protocolHandlerTest.js Close window after protocol handler tests 2019-08-03 02:48:01 -04:00
proxyTest.js Import URL from XPCOM code instead of relying on window for Proxy code 2022-11-22 15:58:49 +02:00
quickCopyTest.js Stop using restoreProcessorState() (#5516) 2025-08-26 00:44:14 -04:00
readerTest.js Fix reopening reader tabs during queued close notifications 2026-07-17 20:11:49 +03:00
recognizeDocumentTest.js recognizeDocumentTest, translatorsTest: Initialize translators in before() 2026-07-08 10:50:32 -04:00
relatedboxTest.js filter out trashed items in relatedBox (#5482) 2025-08-13 23:56:40 -04:00
relationsTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
RemoteTranslateTest.js fx140: ESMify RemoteTranslate and uses 2025-07-30 22:30:30 -04:00
retractionsTest.js CI: Re-enable retractions tests 2024-04-11 06:09:12 -04:00
rtfScanTest.js Improve RTF scan. Add test coverage. (#5672) 2026-02-02 15:03:57 -05:00
schemaTest.js Don't repeat forced pre-update backup after a failed schema update 2026-07-15 22:42:26 -04:00
sdtTest.js Regenerate SDT test pack fixture for pdf processor version 3 2026-07-15 15:01:22 -04:00
searchTest.js Use a word index for full-text content search 2026-07-17 12:41:19 -04:00
server_connectorIntegrationTest.js Server: Test new browser detection behavior 2026-04-28 13:05:31 -04:00
server_connectorTest.js Support multiple-collection selection (#5954) 2026-06-18 14:05:55 -04:00
server_integrationTest.js Server: Test new browser detection behavior 2026-04-28 13:05:31 -04:00
server_localAPITest.js Fix citations accumulating due to CSL.Engine caching (#5742) 2026-01-26 16:12:36 -05:00
serverTest.js fx140: Fix NetUtil import in server tests 2025-07-30 22:31:03 -04:00
storageLocalTest.js File sync: Rename single HTML file within multi-file ZIP to known name 2025-08-28 03:06:52 -04:00
storageRequestTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
styleTest.js Fix citing and locale selection for locales without a CSL locale 2026-07-16 11:28:21 -04:00
supportTest.js Show more granular error for generateItemJSONData() test 2025-12-26 23:36:09 -05:00
syncAPIClientTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
syncedSettingsTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
syncEngineTest.js Trigger full sync when server library version goes backward 2026-05-20 23:11:35 -04:00
syncEventListenersTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
syncFullTextEngineTest.js Clarify naming of the full-text sync content processor 2026-07-15 15:36:40 -04:00
syncLocalTest.js Diff saved-search conditions as an ordered list (#5962) 2026-06-25 16:14:38 -04:00
syncRunnerTest.js Fix sync runner test for updated login error button text 2026-03-19 15:48:16 -04:00
tabsTest.js Render citeproc.js markup in tab titles (#4602) 2024-08-26 07:57:17 -04:00
tagsboxTest.js Fix tag paste to include existing field text at cursor position (#5873) 2026-04-17 14:20:52 -04:00
tagSelectorTest.js Make the tag selector filter accent-insensitive 2026-07-15 15:36:40 -04:00
tagsTest.js Fix error when removing a tag stored in a non-normalized form 2026-05-31 17:07:13 +02:00
translateTest.js Fix UNC paths test for updated Zotero RDF translator 2026-03-09 14:55:25 -04:00
translatorsTest.js recognizeDocumentTest, translatorsTest: Initialize translators in before() 2026-07-08 10:50:32 -04:00
undoHistoryTest.js Respect skipDateModifiedUpdate of the operation when undoing it, fix #5971 2026-06-30 18:23:23 +02:00
uriTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
utilities_internalTest.js Don't crash on unbalanced {{endif}} in template engine 2026-06-19 13:05:19 -04:00
utilitiesSubmoduleTest.js Update utilities, move tests, add to CI (#2584) 2022-04-30 04:55:11 -04:00
virtualized-tableTest.js Item tree refactor megacommit 2026-04-27 14:44:39 -04:00
webdavTest.js Fix WebDAV tests for Account pane rename 2026-04-14 23:56:23 -04:00
zfsTest.js Rewrite HTTP.download() to stream via fetch() + ReadableStream 2026-04-17 14:17:40 -04:00
zoteroPaneTest.js Focus the pane window before the focus traversal tests 2026-07-13 17:28:00 -04:00
zoteroTest.js Support saving and restoring main-window progress meter state 2026-07-16 11:43:31 -04:00