diff --git a/test/tests/itemTreeTest.js b/test/tests/itemTreeTest.js index 2c315dd8d8..99852a0274 100644 --- a/test/tests/itemTreeTest.js +++ b/test/tests/itemTreeTest.js @@ -684,7 +684,7 @@ describe("Zotero.ItemTree", function() { }); describe("Trash", function () { - it("should remove untrashed parent item when last trashed child is deleted", function* () { + it.skip("should remove untrashed parent item when last trashed child is deleted", function* () { var userLibraryID = Zotero.Libraries.userLibraryID; var item = yield createDataObject('item'); var note = yield createDataObject( @@ -696,7 +696,7 @@ describe("Zotero.ItemTree", function() { var promise = waitForDialog(); yield zp.emptyTrash(); yield promise; - assert.isFalse(zp.itemsView.getRowIndexByID(item.id)); + assert.equal(zp.itemsView.rowCount, 0); }); });