Try to fix intermittent Travis error
This commit is contained in:
parent
c5716a395f
commit
0fca78bb7e
1 changed files with 1 additions and 2 deletions
|
@ -211,14 +211,13 @@ describe("Zotero.ItemTreeView", function() {
|
|||
itemsView = zp.itemsView;
|
||||
|
||||
var items = [];
|
||||
var num = 10;
|
||||
var num = 6;
|
||||
for (let i = 0; i < num; i++) {
|
||||
let item = createUnsavedDataObject('item');
|
||||
item.addToCollection(collection.id);
|
||||
yield item.saveTx();
|
||||
items.push(item);
|
||||
}
|
||||
yield Zotero.Promise.delay(2000);
|
||||
assert.equal(itemsView.rowCount, num);
|
||||
|
||||
// Select the third item in the list
|
||||
|
|
Loading…
Reference in a new issue