From 9501f7c8f123f16cce30d7e97003175a3ee95b18 Mon Sep 17 00:00:00 2001 From: Bogdan Abaev Date: Thu, 19 Mar 2026 18:12:41 -0700 Subject: [PATCH] test fix --- test/tests/zoteroPaneTest.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/tests/zoteroPaneTest.js b/test/tests/zoteroPaneTest.js index 0fdbb92efa..ccc4ef0323 100644 --- a/test/tests/zoteroPaneTest.js +++ b/test/tests/zoteroPaneTest.js @@ -2006,6 +2006,8 @@ describe("ZoteroPane", function () { // Open the menupopup so it gets populated let popup = doc.getElementById('zotero-copy-collection-popup'); popup.openPopup(); + // Wait a moment to populate the popup + await Zotero.Promise.delay(); // Find the menuitem for collection B and click it let collectionMenuItem = popup.querySelector(`[value="C${collectionB.id}"]`);