zotero/test/tests
Dan Stillman b3220e83b1 Don't pass nested collections to translators as top-level collections
While we need to pass all items from descendant collections to
translators, only the immediate child collections of the selected
library or collection should be returned from Zotero.nextCollection().

I'm not sure how long we've been doing this wrong, but it resulted in
duplicated subcollections when round-tripping Zotero RDF. (TEI is the
only other translator that uses nextCollection(), so its exports were
probably similarly incorrect.)

https://forums.zotero.org/discussion/87135/export-import-creates-numerous-duplicate-subcollections
2021-01-25 03:58:04 -05:00
..
data Type/field handling overhaul 2019-09-16 02:27:22 -04:00
.eslintrc Add separate .eslintrc for tests 2019-09-16 01:28:52 -04:00
advancedSearchTest.js Add utility functions for building drop-down library lists 2017-12-08 00:42:03 -05:00
attachmentsTest.js Relax HTML checking in SingleFile tests 2021-01-18 23:06:13 -05:00
bibliographyTest.js Add "Manage Styles…" link to Create Bib and Doc Prefs windows 2016-09-06 19:15:01 -04:00
cachedTypesTest.js Add toCanonical and toLabel for Zotero.CharacterSets 2015-06-11 17:17:28 -05:00
citeTest.js extraToCSL(): Fix "zoteroField[1] is undefined" on single-character field 2020-04-03 18:13:10 -04:00
collectionsTest.js Show saved searches under "Collection" search condition 2016-10-06 01:17:06 -04:00
collectionTest.js Support deleted property for collections and searches 2021-01-13 00:49:12 -05:00
collectionTreeViewTest.js Fix test failure after 30cefca18e 2020-05-20 18:47:55 -04:00
concurrentCallerTest.js Maybe reduce spurious errors in ConcurrentCaller test 2016-07-19 18:53:48 -04:00
creatorsTest.js Fix translation error when firstName is null for fieldMode 1 2017-02-27 23:34:16 -05:00
dataDirectoryTest.js Remove some code that's unnecessary now that we're Fx52+ everywhere 2017-06-23 05:03:11 -04:00
dataObjectsTest.js Temporarily disable test for non-integer getAsync() 2017-06-05 03:00:15 -04:00
dataObjectTest.js Support deleted property for collections and searches 2021-01-13 00:49:12 -05:00
dataObjectUtilitiesTest.js Fix deleted item fields reappearing on sync 2019-10-24 01:22:00 -04:00
dateTest.js Fix parsing of SQL dates without seconds 2020-09-09 23:37:02 -04:00
dbTest.js Schema integrity check improvements 2020-11-16 18:13:48 -05:00
duplicatesTest.js Fix instances of browser windows being left open after tests 2016-06-11 05:10:06 -04:00
feedItemsTest.js Test updates for newer Sinon 2019-09-16 01:27:30 -04:00
feedItemTest.js Test updates for newer Sinon 2019-09-16 01:27:30 -04:00
feedReaderTest.js Fix date parsing from Atom feeds 2017-10-31 02:21:21 -04:00
feedsTest.js Don't run feeds update until after schema update promise 2017-06-19 01:25:03 -04:00
feedTest.js Fix some property access issues 2017-10-27 03:25:08 -04:00
fileInterfaceTest.js Add fileInterface test for importing into selected collection 2020-07-12 04:53:29 -04:00
fileTest.js Zotero.File.copyDirectory(): Fix copying of subdirectories on Windows 2020-11-01 18:51:55 -05:00
fulltextTest.js Full-text indexing improvements 2020-03-09 01:19:52 -04:00
groupsTest.js Update toolbar icons on group editability change 2016-03-25 16:49:26 -04:00
groupTest.js Tweak test syntax that breaks with current version of chai-as-promised 2017-06-01 11:36:18 -04:00
httpTest.js Add additional checks to test for HTTP.request() 5xx retry 2020-12-11 02:05:25 -05:00
importExportTest.js Add skipped test for importing related items from Zotero RDF 2019-01-14 02:36:59 -05:00
integrationTest.js Test updates for newer Sinon 2019-09-16 01:27:30 -04:00
itemFieldsTest.js Fix Zotero.ItemFields.getBaseIDFromTypeAndField() 2015-05-27 05:01:48 -04:00
itemPaneTest.js Preserve linked-object and replaced-item relations when merging items 2020-06-06 17:16:09 -04:00
itemsTest.js Preserve linked-object and replaced-item relations when merging items 2020-06-06 17:16:09 -04:00
itemTest.js Support deleted property for collections and searches 2021-01-13 00:49:12 -05:00
itemTreeViewTest.js Disabled test for keeping unfiled item selected on add to collection 2020-03-19 13:08:23 -04:00
librariesTest.js Make test more independent of db state 2018-08-03 11:53:54 +02:00
libraryTest.js Delete group files when deleting group 2018-07-15 23:09:34 -04:00
libraryTreeViewTest.js Fix potential error in libraryTreeView::#_removeRow() test 2016-07-19 20:31:52 -04:00
lookupTest.js Fix title mismatch for ISBN lookup tests 2021-01-25 03:58:04 -05:00
noteeditorTest.js Maybe fix noteeditor test failures for real 2017-04-01 14:29:45 -04:00
notifierTest.js Fix "Can't queue event outside of a transaction" 2018-02-08 02:07:44 -05:00
openurlTest.js Use best first creator for OpenURL author, not just first position 2016-07-11 06:30:55 -04:00
preferences_advancedTest.js Fix test failure after 40fe85b274 2020-04-29 16:29:22 -04:00
preferences_searchTest.js Use the bundled PDF tools 2018-01-17 13:33:18 +02:00
preferences_syncTest.js Update some Sinon reset() calls 2017-06-01 15:39:42 -04:00
profileTest.js Point other profiles to new data dir after migration (+ code reorg) 2016-11-27 00:17:56 -05:00
protocolHandlerTest.js Close window after protocol handler tests 2019-08-03 02:48:01 -04:00
proxyTest.js Improves proxy support (#1129) 2016-12-12 14:29:59 +02:00
quickCopyTest.js Fix invalid HTML in note from Quick Copy 2020-09-09 23:36:18 -04:00
recognizePDFTest.js Fix recognizePDF test after DOI translator change 2019-09-16 00:46:49 -04:00
relatedboxTest.js Rework libraryTreeView event handling 2017-03-24 05:23:56 -04:00
relationsTest.js Fix potential error dragging to library that hasn't been loaded 2020-09-14 23:49:22 -04:00
retractionsTest.js Reduce startup time from retraction key caching 2020-09-23 22:58:53 -04:00
schemaTest.js Restore DB table reconciliation during integrity check 2021-01-17 03:36:38 -05:00
searchTest.js Support deleted property for collections and searches 2021-01-13 00:49:12 -05:00
server_connectorTest.js Fix double saving snapshots (#1937) 2020-12-27 03:31:30 -05:00
serverTest.js Fix server not handling empty body in multi-part request 2020-10-12 15:06:11 -06:00
storageLocalTest.js Fix "attachmentSyncedModificationTime must be a number" sync error 2019-09-21 01:59:09 -04:00
storageRequestTest.js Avoid a warning from a storageRequest test from the item not existing 2017-05-23 02:12:00 -04:00
styleTest.js Update test after AMA update 2020-05-09 19:30:41 -04:00
supportTest.js Deasyncify Zotero.Tags.getID()/getAsync(), and add Zotero.Tags.create() 2016-04-21 11:07:16 -04:00
syncAPIClientTest.js Delay properly on 429 response in syncAPIClient 2020-12-11 02:02:20 -05:00
syncedSettingsTest.js Fixes feed sync bugs after conflicts. (#1074) 2016-08-16 03:03:42 -04:00
syncEngineTest.js Don't change existing sync cache object on 'unchanged' response 2020-04-14 05:07:50 -04:00
syncEventListenersTest.js Fix auto-syncing of unchecked groups after object change 2017-07-21 19:39:37 -04:00
syncFullTextEngineTest.js Update full-text sync tests after 2ecfff6681 2017-10-20 05:23:13 -04:00
syncLocalTest.js Clarify warnings about data removal when switching accounts 2020-05-23 03:23:32 -04:00
syncRunnerTest.js Fix possible skipped group download when another group is archived 2017-10-26 19:05:46 -04:00
tagsboxTest.js Reactify item tags box 2019-11-08 06:41:06 -05:00
tagSelectorTest.js Tag selector performance overhaul 2019-03-28 06:28:34 -04:00
tagsTest.js Remove all colored tags on selected items if 0 is pressed 2019-10-26 16:45:04 -04:00
translateTest.js Don't pass nested collections to translators as top-level collections 2021-01-25 03:58:04 -05:00
translatorsTest.js Implements #1021 on Z4fx extension 2016-09-27 17:43:56 +03:00
uriTest.js Add Zotero.URI.getURIItemLibraryKeyFromDB() 2017-05-19 12:11:21 -04:00
utilities_internalTest.js Use SingleFile to create snapshots of web pages 2020-09-23 09:37:09 -07:00
utilitiesTest.js Additional adjustments to URL handling 2020-01-04 02:30:12 -05:00
webdavTest.js Fix endless WebDAV loops if server has wrong mtimes but hash matches 2020-06-09 01:26:11 -04:00
zfsTest.js Further fixing of "Too many sync requests" error 2020-02-16 18:05:45 -05:00
zoteroIntlTest.js Move localeCompare tests to Zotero.Intl tests 2018-08-01 15:41:54 +02:00
zoteroPaneTest.js Download remotely updated files in "as needed" file sync mode 2020-03-09 01:19:52 -04:00
zoteroTest.js Merge branch 'electron' 2018-08-16 19:16:46 -04:00