Never auto-select new groups, since they always come from syncs
Fixes test failure from 2e74cd7831
This commit is contained in:
parent
2e74cd7831
commit
859c506913
4 changed files with 20 additions and 7 deletions
|
@ -451,9 +451,19 @@ describe("Zotero.CollectionTreeView", function() {
|
|||
|
||||
it("should select a new feed", function* () {
|
||||
var feed = yield createFeed();
|
||||
// Library should still be selected
|
||||
// Feed should be selected
|
||||
assert.equal(cv.getSelectedLibraryID(), feed.id);
|
||||
})
|
||||
});
|
||||
|
||||
it("shouldn't select a new feed with skipSelect: true", function* () {
|
||||
var feed = yield createFeed({
|
||||
saveOptions: {
|
||||
skipSelect: true
|
||||
}
|
||||
});
|
||||
// Library should still be selected
|
||||
assert.equal(cv.getSelectedLibraryID(), userLibraryID);
|
||||
});
|
||||
|
||||
it("should remove deleted feed", function* () {
|
||||
var feed = yield createFeed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue