zotero/test/tests
Bogdan Abaev 098be27375 citation dlg: fix row cutoff on linux after resize
When resizing the window in list mode to match the height
of the content, account for the difference between
outerHeight and innerHeight of the window on Linux.
outerHeight > innerHeight (perhaps Linux includes chrome,
borders, etc. in its outerHeight), so we have to add their difference
to the desired height for resizing. Otherwise, the visible
dialog ends up receiving only some of the desired height and
the last row is cut off.

Also, ensure that in tests, we wait for searching triggered by
switching dialog mode to finish before running the next search.

Fixes: zotero#5502
2025-08-21 11:50:10 +03: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 citation dlg: fix row cutoff on linux after resize 2025-08-21 11:50:10 +03: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 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
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 Fix intermittent context pane toggle test failure 2025-08-14 17:52:28 -04:00
itemsTest.js Don't merge into a missing snapshot attachment (#5459) 2025-08-02 01:53:47 -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 Implement custom menu API (#5028) 2025-08-20 02:10:35 -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 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
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 Revert "Fix relations to erased items reappearing after sync (#5486)" 2025-08-15 02:09:18 -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 Handle invalid path when launching/revealing on macOS (#5485) 2025-08-15 01:29:05 -04:00
zoteroTest.js Include "Zotero/[version]" in file sync requests 2021-12-27 15:54:12 -05:00