Debugging for updateSession test failures

This commit is contained in:
Dan Stillman 2018-02-11 01:54:32 -05:00
parent f04a8c3736
commit 07c9f8ee0e

View File

@ -429,6 +429,8 @@ describe("Connector Server", function () {
describe("/connector/updateSession", function () {
it("should update collections and tags of item saved via /saveItems", async function () {
Zotero.Debug.init(true);
var collection1 = await createDataObject('collection');
var collection2 = await createDataObject('collection');
await waitForItemsLoad(win);
@ -510,6 +512,8 @@ describe("Connector Server", function () {
assert.isTrue(collection1.hasItem(item.id));
assert.isTrue(item.hasTag("A"));
assert.isTrue(item.hasTag("B"));
Zotero.Debug.init();
});
it("should update collections and tags of PDF saved via /saveSnapshot", async function () {