zotero/test/tests
abaevbog 873beebc0f
close more leftover windows in tests (#5460)
- close hyphenationTest window.
- properly close zoteroPane window in preferences_syncTest.
after() hook inside of the test would not close the window until the
very end of the entire test run. Without this, during
subsequent tests that open their own zoteroPane window, there
are two instances of zoteroPane open at the same time.
- close open tabs in readerTest cleanup, since subsequent
tests expect library tab to be selected.

Followup to https://github.com/zotero/zotero/pull/5444#issuecomment-3141879892
2025-08-02 01:40:21 -04:00
..
data Update sample data for podcast/date mapping 2025-02-05 03:08:32 -05:00
.eslintrc Add separate .eslintrc for tests 2019-09-16 01:28:52 -04:00
advancedSearchTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
annotationsTest.js Set automatic titles in more or less all cases (#4369) 2024-07-14 23:37:24 -04:00
attachmentsTest.js fx140: Fix remaining bare ChromeUtils.import() calls 2025-07-30 22:30:54 -04:00
bibliographyTest.js Fix test for opening the Cite prefpane when clicking Manage Styles… 2023-04-15 03:35:17 -04:00
browserDownloadTest.js Use local HTTP server for Zotero.BrowserDownload test 2024-06-15 00:40:03 -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 fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
citeprocRsBridgeTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
citeTest.js Reset Zotero.locale to 'en-US' after cite test 2022-08-11 03:57:20 -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 Include proper test for b373291c02 for #2771 2022-08-19 12:05:30 -04:00
collectionTreeTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -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 fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
dataObjectTest.js Restore timeout in dataObjectTest.js, fix test 2025-07-30 22:30:57 -04:00
dataObjectUtilitiesTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
dateTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
dbTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -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 fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -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
fileHandlersTest.js FileHandlers: Infer PDF pageIndex from annotation key 2025-07-30 11:37:52 -04:00
fileInterfaceTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
fileTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
folderImportTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
fulltextTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -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 fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
hyphenationTest.js close more leftover windows in tests (#5460) 2025-08-02 01:40:21 -04:00
importExportTest.js fx-compat: Fix XMLSerializer calls 2023-05-22 01:34:41 -04:00
integrationTest.js Remove remaining chai-as-promised method calls 2025-07-30 22:31:08 -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 Improve item pane test stability (#5436) 2025-07-31 21:51:40 -04:00
itemsTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
itemTest.js Remove Chai as Promised 2025-07-30 22:31:08 -04:00
itemTreeTest.js Remove Chai as Promised 2025-07-30 22:31:08 -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 fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
mendeleyImportTest.js fx140: Fix additional mendeleyImport.mjs imports 2025-07-30 22:30:58 -04: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
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 Fix plugin API test failure 2025-07-30 22:31:09 -04:00
preferences_advancedTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
preferences_syncTest.js close more leftover windows in tests (#5460) 2025-08-02 01:40:21 -04:00
profileTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -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 fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
readerTest.js close more leftover windows in tests (#5460) 2025-08-02 01:40:21 -04:00
recognizeDocumentTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
relatedboxTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -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
schemaTest.js Remove Chai as Promised 2025-07-30 22:31:08 -04:00
searchTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
server_connectorIntegrationTest.js Replace uses of Zotero.Promise.defer() as a constructor 2025-07-30 22:30:33 -04:00
server_connectorTest.js Close ProgressQueueDialog after connector server tests (#5446) 2025-07-31 21:54:15 -04:00
server_integrationTest.js Make server.js use mozilla httpd and support application/octet-stream (#5148) 2025-04-22 09:47:58 -04:00
server_localAPITest.js Local API: Fix handling of style ids without standard prefix 2025-02-17 03:16:22 -05:00
serverTest.js fx140: Fix NetUtil import in server tests 2025-07-30 22:31:03 -04:00
storageLocalTest.js Remove Chai as Promised 2025-07-30 22:31:08 -04:00
storageRequestTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
styleTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
supportTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04: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 isAbove → isAtLeast in sync engine tests for testing delays 2025-07-31 10:45:19 -04:00
syncEventListenersTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
syncFullTextEngineTest.js Remove Chai as Promised 2025-07-30 22:31:08 -04:00
syncLocalTest.js Remove Chai as Promised 2025-07-30 22:31:08 -04:00
syncRunnerTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
tabsTest.js Render citeproc.js markup in tab titles (#4602) 2024-08-26 07:57:17 -04:00
tagsboxTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
tagSelectorTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
tagsTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
translateTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
translatorsTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
uriTest.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
utilities_internalTest.js Remove Chai as Promised 2025-07-30 22:31:08 -04:00
utilitiesSubmoduleTest.js Update utilities, move tests, add to CI (#2584) 2022-04-30 04:55:11 -04:00
webdavTest.js Remove Chai as Promised 2025-07-30 22:31:08 -04:00
zfsTest.js Remove Chai as Promised 2025-07-30 22:31:08 -04:00
zoteroPaneTest.js Remove Chai as Promised 2025-07-30 22:31:08 -04:00
zoteroTest.js Include "Zotero/[version]" in file sync requests 2021-12-27 15:54:12 -05:00