zotero/test/tests
Adomas Ven 8b77c96e97
Displays a browser window to clear captcha when saving attachments. (#3526)
- Currently enabled only for ScienceDirect. Can be enabled via a whitelist
- Matches the HiddenBrowser loaded HTML page for a captcha element. If
  the captcha element class changes, this will break (but the
  alternative is potentially displaying a captcha clearing window when
  something else that is not a captcha guard is loaded).
- Captcha clear timeout for 60s.
- Doesn't automatically switch focus back to the browser which intiated
  the item save via the Connector.
- Stores the cookies used to clear the captcha for future saves from the
  same domain. Discards Connector supplied User Agent, since CF bot
  detector checks UA header against actual UA behavior like TLS handshake
  and if the UA acts different to what it's supposed to, the bot
  challenge is not cleared.

Other changes:
- Adjusted the cookie sandbox to allow multiple cookie sandboxes to be
  active (and simplified some legacy code that was meant to cover a bug
  in old FX codebase).
- HiddenBrowser API changed to be Object oriented, translator tester
  in the translate repo will need to be updated after a merge (have the
  change ready).
- Improved Connector Server attachment progress handling
2023-12-27 04:43:50 -05:00
..
data Extract ISBNs and DOIs from EPUB content (#64) 2023-08-07 16:07:55 -04:00
.eslintrc Add separate .eslintrc for tests 2019-09-16 01:28:52 -04:00
advancedSearchTest.js Fix failing Advanced Search test (regression 172fe371) 2023-12-12 18:14:19 +02:00
annotationsTest.js Add collectionID option to EditorInstance.createNoteFromAnnotations() 2022-09-12 15:54:03 -04:00
attachmentsTest.js Displays a browser window to clear captcha when saving attachments. (#3526) 2023-12-27 04:43:50 -05:00
bibliographyTest.js Fix test for opening the Cite prefpane when clicking Manage Styles… 2023-04-15 03:35:17 -04:00
browserDownloadTest.js Displays a browser window to clear captcha when saving attachments. (#3526) 2023-12-27 04:43:50 -05: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
citeprocRsBridgeTest.js Fix broken tests in 000599b 2022-02-21 14:06:20 +02:00
citeTest.js Reset Zotero.locale to 'en-US' after cite test 2022-08-11 03:57:20 -04:00
collectionsTest.js Sort multiple levels of items when generating API JSON 2021-03-02 17:36:05 -05:00
collectionTest.js Fix descendant collections not skipping delete log 2021-05-06 03:34:09 -04:00
collectionTreeRowTest.js Include proper test for b373291c02 for #2771 2022-08-19 12:05:30 -04:00
collectionTreeTest.js Collection tree selection fixes 2023-08-11 04:16:42 -04:00
concurrentCallerTest.js Maybe reduce spurious errors in ConcurrentCaller test 2016-07-19 18:53:48 -04:00
creatorsTest.js fx-compat: DB.executeTransaction() no longer takes generator functions 2022-05-12 02:38:59 -04:00
dataDirectoryTest.js Clear Zotero.skipLoading after data directory tests 2023-05-25 05:45:53 -04:00
dataObjectsTest.js fx-compat: DB.executeTransaction() no longer takes generator functions 2022-05-12 02:38:59 -04:00
dataObjectTest.js Disallow unowned group annotation edits, but allow deletions 2022-01-31 06:48:05 -05:00
dataObjectUtilitiesTest.js Don't repeatedly upload relations 2022-08-22 01:15:21 -04:00
dateTest.js Update utilities submodule and date-parsing tests 2022-08-11 02:36:04 -04:00
dbTest.js fx-compat: DB.executeTransaction() no longer takes generator functions 2022-05-12 02:38:59 -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 Merge attachments and update notes (#2336) 2022-03-09 17:26:26 -05:00
feedItemsTest.js fx-compat: Fix feed test using Array.map() 2022-06-19 15:09:23 -04:00
feedItemTest.js Update utilities submodule and date-parsing tests 2022-08-11 02:36:04 -04:00
feedReaderTest.js Wire up new feed processor to Zotero's feed reader 2021-06-16 20:59:57 +01:00
feedsTest.js Feed import: Don't fail on OPML entry with no title or text 2022-08-11 02:28:03 -04:00
feedTest.js Don't reset isRead when feed item metadata changes (#2215) 2021-11-05 23:16:12 -04:00
fileInterfaceTest.js fx-compat: Don't use number as OS.Path.join() argument 2023-04-19 17:41:11 -04:00
fileTest.js Fix file:// URI handling in getBinaryContentsAsync() 2023-11-10 15:58:53 -05:00
folderImportTest.js Temporarily disable folder import #2862 2023-03-23 14:16:51 +01:00
fulltextTest.js Update pdf-worker and update full-text test 2023-04-29 04:56:28 -04:00
groupsTest.js fx-compat: DB.executeTransaction() no longer takes generator functions 2022-05-12 02:38:59 -04:00
groupTest.js Tweak test syntax that breaks with current version of chai-as-promised 2017-06-01 11:36:18 -04:00
HiddenBrowserTest.js Displays a browser window to clear captcha when saving attachments. (#3526) 2023-12-27 04:43:50 -05:00
httpTest.js fx-compat: Run translation and SingleFile in [hidden] browser 2023-04-14 11:44:44 -04:00
hyphenationTest.js Fix segfault when hyphenating text in main process (#3388) 2023-09-14 02:48:50 -04:00
importExportTest.js fx-compat: Fix XMLSerializer calls 2023-05-22 01:34:41 -04:00
integrationTest.js Link Mendeley citations in documents to imported items. Closes #2622 2022-11-29 16:27:19 +02:00
intlTest.js Refactor l10n code. Remove use of react-intl. (#2975) 2023-02-10 10:26:49 +02:00
itemFieldsTest.js Fix Zotero.ItemFields.getBaseIDFromTypeAndField() 2015-05-27 05:01:48 -04:00
itemPaneTest.js fx-compat: Fix feed button appearance/overflow behavior (#3114) 2023-05-09 16:38:33 -04:00
itemsTest.js Fix merging of group attachments with annotations created by another user 2023-07-13 19:58:47 -04:00
itemTest.js Strip bidi control characters in filenames and elsewhere (#3208) 2023-07-22 03:30:28 -04:00
itemTreeTest.js Adjust failing item tree tests for #3460 2023-10-24 14:34:57 +03:00
librariesTest.js Implement library.isGroup property, which was never properly implemented 2021-07-07 01:43:22 -04:00
libraryTest.js XUL -> JS tree megacommit 2021-08-21 06:58:12 -04:00
libraryTreeTest.js XUL -> JS tree megacommit 2021-08-21 06:58:12 -04:00
lookupTest.js Fix title mismatch for ISBN lookup tests 2021-01-25 03:58:04 -05:00
mendeleyImportTest.js Mendeley importer: Fix issue with empty tags (#3018) 2023-04-06 17:10:13 +02:00
mimeTest.js Add EPUB format to Zotero.MIME 2023-08-07 16:07:52 -04:00
noteeditorTest.js Z7: Update note editor tests 2023-04-28 01:54:00 -04:00
notifierTest.js fx-compat: DB.executeTransaction() no longer takes generator functions 2022-05-12 02:38:59 -04:00
openurlTest.js Use best first creator for OpenURL author, not just first position 2016-07-11 06:30:55 -04:00
pdfReaderTest.js Disable PDF reader tests 2023-08-07 16:27:23 -04:00
preferences_advancedTest.js Test debug output logging again 2023-05-24 20:59:29 +03:00
preferences_syncTest.js Clear sync error and start sync after logging in in prefs (#2802) 2022-10-16 15:47:54 -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 Import URL from XPCOM code instead of relying on window for Proxy code 2022-11-22 15:58:49 +02:00
quickCopyTest.js Markdown note export (#2214) 2021-12-15 06:10:58 -05:00
recognizeDocumentTest.js Extract ISBNs and DOIs from EPUB content (#64) 2023-08-07 16:07:55 -04:00
relatedboxTest.js Z7: Update relatedbox tests 2023-04-28 01:54:00 -04:00
relationsTest.js fx-compat: DB.executeTransaction() no longer takes generator functions 2022-05-12 02:38:59 -04:00
RemoteTranslateTest.js Displays a browser window to clear captcha when saving attachments. (#3526) 2023-12-27 04:43:50 -05:00
retractionsTest.js Use mixed-case DOI in retraction tests 2023-09-03 18:51:50 -04:00
schemaTest.js Better way of skipping migration of Place and Date from Extra 2023-04-01 04:52:30 -04:00
searchTest.js Prevent setting search .name to empty value 2023-04-12 22:23:13 -04:00
server_connectorTest.js Displays a browser window to clear captcha when saving attachments. (#3526) 2023-12-27 04:43:50 -05:00
serverTest.js Fix server not handling empty body in multi-part request 2020-10-12 15:06:11 -06:00
storageLocalTest.js fx-compat: Update conflict resolution merge window (#3090) 2023-04-29 03:13:53 -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 Improve test for event-title substitution 2022-08-11 03:57:25 -04:00
supportTest.js Massively speed up tests 2021-06-24 06:10:40 -04:00
syncAPIClientTest.js Send Zotero-Schema-Version header with API requests 2021-03-02 17:36:05 -05:00
syncedSettingsTest.js Fixes feed sync bugs after conflicts. (#1074) 2016-08-16 03:03:42 -04:00
syncEngineTest.js Fix test breakage from f68818387 2023-09-18 16:47:55 -04:00
syncEventListenersTest.js Trigger auto-sync after item deletion 2021-05-14 03:49:26 -04:00
syncFullTextEngineTest.js Update full-text sync tests after 2ecfff6681 2017-10-20 05:23:13 -04:00
syncLocalTest.js fx-compat: Update conflict resolution merge window (#3090) 2023-04-29 03:13:53 -04:00
syncRunnerTest.js fx-compat: long tag fixer (#2649) 2023-03-16 21:20:11 -04:00
tagsboxTest.js Fix tags not being saved in item tags box when pressing Enter 2023-07-25 05:51:41 -04:00
tagSelectorTest.js Match parent attachments for annotation tags 2022-08-17 03:35:28 -04:00
tagsTest.js fx-compat: DB.executeTransaction() no longer takes generator functions 2022-05-12 02:38:59 -04:00
translateTest.js Displays a browser window to clear captcha when saving attachments. (#3526) 2023-12-27 04:43:50 -05:00
translatorsTest.js Remove accidental .only() in test from fdcd4e51c5 2021-07-12 15:25:17 -04:00
uriTest.js Add Zotero.URI.getURIItemLibraryKeyFromDB() 2017-05-19 12:11:21 -04:00
utilities_internalTest.js Customizable renaming rules #1413 (#2297) 2023-07-20 06:50:34 -04:00
utilitiesSubmoduleTest.js Update utilities, move tests, add to CI (#2584) 2022-04-30 04:55:11 -04:00
webdavTest.js Add startHTTPServer() support function 2023-08-16 01:16:49 -04:00
zfsTest.js Add startHTTPServer() support function 2023-08-16 01:16:49 -04:00
zoteroPaneTest.js Detect more EPUBs in viewAttachment() content type fixer (#3433) 2023-09-23 03:09:23 -04:00
zoteroTest.js Include "Zotero/[version]" in file sync requests 2021-12-27 15:54:12 -05:00