Update search test after c1f7a188e2
c1f7a188e2
changed createDataObject('search') to create 2 search conditions
instead of 1
This commit is contained in:
parent
c1f7a188e2
commit
2ebd7bd114
1 changed files with 1 additions and 3 deletions
|
@ -353,14 +353,12 @@ describe("ZoteroPane", function() {
|
||||||
searchBox.search.addCondition("title", "contains", "foo")
|
searchBox.search.addCondition("title", "contains", "foo")
|
||||||
);
|
);
|
||||||
searchBox.addCondition(c);
|
searchBox.addCondition(c);
|
||||||
Zotero.debug("ACCEPTING");
|
|
||||||
win.document.documentElement.acceptDialog();
|
win.document.documentElement.acceptDialog();
|
||||||
});
|
});
|
||||||
yield zp.editSelectedCollection();
|
yield zp.editSelectedCollection();
|
||||||
yield promise;
|
yield promise;
|
||||||
var conditions = search.getConditions();
|
var conditions = search.getConditions();
|
||||||
Zotero.debug(conditions);
|
assert.lengthOf(Object.keys(conditions), 3);
|
||||||
assert.lengthOf(Object.keys(conditions), 2);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue