Fix sync engine tests after 00703c0b8

This commit is contained in:
Dan Stillman 2023-05-05 06:38:00 -04:00
parent 4974532276
commit f21ca49d83

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.pane.onclick);
assert.ok(mergeGroup.leftPane.box.onclick);
// Select local deleted version
mergeGroup.leftPane.pane.click();
mergeGroup.leftPane.box.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.pane.onclick);
assert.ok(mergeGroup.leftPane.box.onclick);
// Select local deleted version
mergeGroup.leftPane.pane.click();
mergeGroup.leftPane.box.click();
wizard.getButton('finish').click();
});
yield engine._downloadObjects('item', [obj.key]);