Close advanced search window in collectionViewItemTree notify() test
Some checks failed
CI / Build, Upload, Test (push) Has been cancelled

The test opened an advanced search window but never closed it, which
likely caused the intermittent failures in the ZoteroPane focus() test
"should shift-tab across the zotero pane".
This commit is contained in:
Dan Stillman 2026-05-07 14:07:53 -04:00
parent 806a6a3715
commit 9fc91aa6e6

View file

@ -2818,6 +2818,9 @@ describe("CollectionViewItemTree", function () {
assert.isTrue(notifySpy.calledOnce);
await notifySpy.returnValues[0];
notifySpy.restore();
searchWin.close();
await item.eraseTx();
});
});
});