From fbd8db3c8e3f18bd313ac253202d2bd3b237b11d Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Tue, 16 Jan 2024 14:45:16 -0500 Subject: [PATCH] Fix New Collection test --- test/tests/zoteroPaneTest.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/tests/zoteroPaneTest.js b/test/tests/zoteroPaneTest.js index 2a0500ad37..0bb9a34fb8 100644 --- a/test/tests/zoteroPaneTest.js +++ b/test/tests/zoteroPaneTest.js @@ -57,7 +57,11 @@ describe("ZoteroPane", function() { describe("#newCollection()", function () { it("should create a collection", function* () { - var promise = waitForDialog(); + var promise = waitForDialog( + null, + 'accept', + 'chrome://zotero/content/newCollectionDialog.xhtml' + ); var id = yield zp.newCollection(); yield promise; var collection = Zotero.Collections.get(id);