Fix sync engine tests after 00703c0b8
This commit is contained in:
parent
4974532276
commit
f21ca49d83
1 changed files with 4 additions and 4 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue