Fix failing Advanced Search test (regression 172fe371
)
This commit is contained in:
parent
8243553260
commit
32ba987c28
2 changed files with 2 additions and 3 deletions
|
@ -126,7 +126,7 @@ var ZoteroAdvancedSearch = new function() {
|
||||||
isTrash: () => false
|
isTrash: () => false
|
||||||
};
|
};
|
||||||
|
|
||||||
this.itemsView.changeCollectionTreeRow(collectionTreeRow);
|
return this.itemsView.changeCollectionTreeRow(collectionTreeRow);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -32,8 +32,7 @@ describe("Advanced Search", function () {
|
||||||
|
|
||||||
// Run search and wait for results
|
// Run search and wait for results
|
||||||
var o = searchWin.ZoteroAdvancedSearch;
|
var o = searchWin.ZoteroAdvancedSearch;
|
||||||
var deferred = Zotero.Promise.defer();
|
yield o.search();
|
||||||
o.search();
|
|
||||||
var iv = o.itemsView;
|
var iv = o.itemsView;
|
||||||
yield iv.waitForLoad();
|
yield iv.waitForLoad();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue