Fix error deleting selected library
This commit is contained in:
parent
1633a73c3e
commit
f7074a75b5
2 changed files with 10 additions and 1 deletions
|
@ -409,6 +409,10 @@ describe("Zotero.CollectionTreeView", function() {
|
|||
// Group, collections, Duplicates, Unfiled, and trash
|
||||
assert.equal(cv.rowCount, originalRowCount + 9);
|
||||
|
||||
// Select group
|
||||
yield cv.selectLibrary(group.libraryID);
|
||||
yield waitForItemsLoad(win);
|
||||
|
||||
var spy = sinon.spy(cv, "refresh");
|
||||
try {
|
||||
yield group.eraseTx();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue