Fix test breakage from f68818387

This commit is contained in:
Dan Stillman 2023-09-18 16:47:55 -04:00
parent 0b583cc644
commit 24ae341045

View file

@ -4198,9 +4198,9 @@ describe("Zotero.Sync.Data.Engine", function () {
// Remote version should be selected by default
assert.equal(mergeGroup.rightPane.getAttribute('selected'), 'true');
assert.ok(mergeGroup.leftPane.box.onclick);
assert.ok(mergeGroup.leftPane.groupbox.onclick);
// Select local deleted version
mergeGroup.leftPane.box.click();
mergeGroup.leftPane.groupbox.click();
wizard.getButton('finish').click();
})
yield engine._downloadObjects('item', [obj.key]);
@ -4258,9 +4258,9 @@ describe("Zotero.Sync.Data.Engine", function () {
// Remote version should be selected by default
assert.equal(mergeGroup.rightPane.getAttribute('selected'), 'true');
assert.ok(mergeGroup.leftPane.box.onclick);
assert.ok(mergeGroup.leftPane.groupbox.onclick);
// Select local deleted version
mergeGroup.leftPane.box.click();
mergeGroup.leftPane.groupbox.click();
wizard.getButton('finish').click();
});
yield engine._downloadObjects('item', [obj.key]);