Skip to content

Commit 9139e18

Browse files
committed
Adjust test for CI
1 parent e2a91ba commit 9139e18

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/tests/translationTest.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ describe("Translation", function() {
234234
var tab = await browser.tabs.get(tabId);
235235
Zotero.Connector_Browser.saveWithTranslator(tab, 0).then(deferred.resolve).catch(deferred.reject);
236236
}, tab.tabId);
237-
await delay(20);
237+
// Wait for the modal prompt to appear
238+
await delay(500);
238239
var frameURL = getExtensionURL('modalPrompt/modalPrompt.html');
239240
var message = await tab.runInFrame(frameURL, async function() {
240241
// TODO: A more robust way to wait for the text to show up.

0 commit comments

Comments
 (0)