mirror of
https://github.com/zotero/zotero.git
synced 2026-10-10 03:28:10 +00:00
Close advanced search window in collectionViewItemTree notify() test
Some checks failed
CI / Build, Upload, Test (push) Has been cancelled
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:
parent
806a6a3715
commit
9fc91aa6e6
1 changed files with 3 additions and 0 deletions
|
|
@ -2818,6 +2818,9 @@ describe("CollectionViewItemTree", function () {
|
|||
assert.isTrue(notifySpy.calledOnce);
|
||||
await notifySpy.returnValues[0];
|
||||
notifySpy.restore();
|
||||
|
||||
searchWin.close();
|
||||
await item.eraseTx();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue