From 09aad7b0751535be455b5e12fdc644f4b276f207 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 24 Jun 2024 02:31:34 -0400 Subject: [PATCH] Tests: Make some ZoteroPane tests more reliable --- test/tests/zoteroPaneTest.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/tests/zoteroPaneTest.js b/test/tests/zoteroPaneTest.js index 22261c1f81..af6e209338 100644 --- a/test/tests/zoteroPaneTest.js +++ b/test/tests/zoteroPaneTest.js @@ -758,6 +758,10 @@ describe("ZoteroPane", function() { describe("#deleteSelectedItems()", function () { const DELETE_KEY_CODE = 46; + afterEach(async function () { + await selectLibrary(win); + }); + it("should remove an item from My Publications", function* () { var item = createUnsavedDataObject('item'); item.inPublications = true;