From 2e50d37ebb04af412fe72cd424374d184b988239 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 15 May 2020 19:16:11 -0400 Subject: [PATCH] Translator tester: reduce defer delay from 20s to 5s This seems like it would be sufficient for most tests that need to wait for a page to load and is much less annoying in Scaffold. We could adjust for automated runs if those end up using a browser again. --- chrome/content/zotero/tools/testTranslators/translatorTester.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/tools/testTranslators/translatorTester.js b/chrome/content/zotero/tools/testTranslators/translatorTester.js index 322d46881c..99ca83cee1 100644 --- a/chrome/content/zotero/tools/testTranslators/translatorTester.js +++ b/chrome/content/zotero/tools/testTranslators/translatorTester.js @@ -242,7 +242,7 @@ var Zotero_TranslatorTester = function(translator, type, debugCallback, translat } }; -Zotero_TranslatorTester.DEFER_DELAY = 20000; // Delay for deferred tests +Zotero_TranslatorTester.DEFER_DELAY = 5000; // Delay for deferred tests /** * Removes document objects, which contain cyclic references, and other fields to be ignored from items