zotero/test/tests
Dan Stillman c2052cfff1 Don't add items in imported collections to the import collection
Items are added to the collection created for an import as they're
saved, before the imported collection hierarchy exists, so an item only
in a subcollection ended up in the top collection as well as its own.
Remove those once the hierarchy has been created.

When everything imported belongs to a single top-level collection, that
collection is used for the import rather than being nested inside a
collection named after the file.

https://forums.zotero.org/discussion/133174/
2026-08-27 14:15:19 -04:00
..
data Add support for importing from encrypted Mendeley Desktop DB (#6019) 2026-08-13 09:33:41 -04:00
.eslintrc Add separate .eslintrc for tests 2019-09-16 01:28:52 -04:00
advancedSearchTest.js Add a query syntax to the quick search 2026-08-20 16:09:20 -04:00
annotationsTest.js Add tests for image annotation placeholder in notes 2026-03-24 12:09:15 -04:00
attachmentReadObserverTest.js Don't update read status when using Show File 2026-07-30 13:43:41 -04:00
attachmentsTest.js Move PMC lookup after open-access lookup 2026-07-30 20:56:28 -04: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: Hide the citation preview until the citation has items 2026-07-28 12:29:59 -04:00
citeprocRsBridgeTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
citeTest.js Update utilities submodule 2026-08-19 15:28:34 -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 Remove the singular collection tree selection getters 2026-07-29 13:12:47 -04:00
collectionTreeTest.js fx153: Set XUL checked/disabled as boolean attributes 2026-08-03 11:48:40 -04:00
collectionViewItemTreeTest.js Fix tree multi-selection collapse/expand behaviour (#5983) 2026-07-31 13:25:01 -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 Add executeTransactionWithForcedRollback() test helper 2026-08-09 14:22:20 -04:00
dataObjectTest.js Fix zero local data object versions (#6016) 2026-08-13 11:23:05 -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 Use versioned libc.so instead of /bin/ln on Linux (#6030) 2026-08-26 13:02:48 -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 Don't use FSEvents when storage isn't on a local volume 2026-08-26 10:36:54 -04:00
fileHandlersTest.js FileHandlers: Infer PDF pageIndex from annotation key 2025-07-30 11:37:52 -04:00
fileInterfaceTest.js Don't add items in imported collections to the import collection 2026-08-27 14:15:19 -04:00
fileRenamingDialogTest.js Extend the template engine and add template validation (#5989) 2026-07-29 13:30:12 -04:00
fileTest.js Use a platform-appropriate path in file access error test 2026-08-20 12:34:41 -04:00
folderImportTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
fulltextTest.js Don't hold the database to optimize the full-text index 2026-08-21 16:31:18 -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 Add timeout to HiddenBrowser::getPageData() 2026-07-24 13:11:50 -04:00
httpTest.js Fix WebDAV downloads with non-ASCII characters in the password 2026-08-27 10:46:00 -04:00
hyphenationTest.js close more leftover windows in tests (#5460) 2025-08-02 01:40:21 -04:00
importExportTest.js Don't add items in imported collections to the import collection 2026-08-27 14:15:19 -04:00
integrationTest.js Remove bibliography when last citation is deleted. Closes #3474 2026-08-25 15:55:11 +03:00
intlTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
itemFieldsTest.js Make Original Date a date field 2026-08-20 12:57:46 -04:00
itemPaneTest.js Select item explicitly in item-pane refresh test 2026-08-09 22:09:02 -04:00
itemsTest.js Recently Read: Show matching children as regular rows 2026-06-16 13:52:14 -04:00
itemTest.js Don't throw getting the filename of a stored file with a corrupt path 2026-07-23 11:12:12 -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 Track data object versions locally 2026-07-28 09:57:43 -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
mendeleyDecryptTest.js Add support for importing from encrypted Mendeley Desktop DB (#6019) 2026-08-13 09:33:41 -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 Retry note saves that time out waiting for the database 2026-08-21 16:31:18 -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 Remove collectionTreeRow from the plugin menu context 2026-07-29 13:22:58 -04:00
preferences_accountTest.js fx153: Set XUL hidden/collapsed as boolean attributes 2026-08-03 11:48:40 -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
queryTextboxTest.js Add a query syntax to the quick search 2026-08-20 16:09:20 -04: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 fx153: Set XUL hidden/collapsed as boolean attributes 2026-08-03 11:48:40 -04:00
rtfScanTest.js Improve RTF scan. Add test coverage. (#5672) 2026-02-02 15:03:57 -05:00
schemaTest.js Make Original Date a date field 2026-08-20 12:57:46 -04:00
sdtTest.js Avoid SDT test fixture updates on version bumps 2026-07-23 20:24:21 +03:00
searchQueryTest.js Localize the search syntax's operators and other words 2026-08-26 15:19:44 -04:00
searchTest.js Fix Any Field searches at a non-item result level 2026-08-21 12:56:05 -04:00
server_connectorIntegrationTest.js Server: Test new browser detection behavior 2026-04-28 13:05:31 -04:00
server_connectorTest.js Remove the singular collection tree selection getters 2026-07-29 13:12:47 -04:00
server_integrationTest.js Server: Test new browser detection behavior 2026-04-28 13:05:31 -04:00
server_localAPITest.js Local API: Don't validate Zotero-Server-ID for file uploads 2026-07-28 12:34:40 -06:00
serverTest.js Actually return 400 and throw when multipart body is malformed. 2026-08-10 16:16:00 +03:00
storageLocalTest.js Fix locally missing attachments never being downloaded 2026-08-26 10:36:54 -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 Save uploaded objects to the sync cache on an unchanged response 2026-07-29 00:06:42 -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 fx153: Move to nsIPKCS11Token for the NSS key database 2026-08-03 11:48:41 -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 Exclude trashed items from tag autocomplete suggestions 2026-07-22 11:46:52 -04:00
tagSelectorTest.js Remove the singular collection tree selection getters 2026-07-29 13:12:47 -04:00
tagsTest.js Fix error when removing a tag stored in a non-normalized form 2026-05-31 17:07:13 +02:00
templatesTest.js Extend the template engine and add template validation (#5989) 2026-07-29 13:30:12 -04:00
translateTest.js Export selected collections as collections 2026-08-27 14:15:19 -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
usersTest.js Restore cached user name on transaction rollback 2026-08-09 14:29:48 -04:00
utilities_internalTest.js Move templating engine to a standalone, lazy-loaded module (#5989) 2026-07-29 13:30:03 -04:00
utilitiesSubmoduleTest.js Support citing EDTF dates in the Date field and Extra 2026-08-12 14:11:26 -04:00
virtualized-tableTest.js Item tree refactor megacommit 2026-04-27 14:44:39 -04:00
webdavTest.js Fix corruption of non-ASCII characters in encrypted credentials 2026-08-27 10:45:45 -04:00
zfsTest.js Fix locally missing attachments never being downloaded 2026-08-26 10:36:54 -04:00
zoteroPaneTest.js Skip focus traversal tests when the pane window can't be activated 2026-08-13 10:43:51 -04:00
zoteroTest.js Support saving and restoring main-window progress meter state 2026-07-16 11:43:31 -04:00