Lengthen timeout for ISBN tests
I think the failures are actually LoC timing out.
This commit is contained in:
parent
3583793571
commit
a5ce4d2a66
1 changed files with 2 additions and 2 deletions
|
@ -20,14 +20,14 @@ describe("Add Item by Identifier", function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should add an ISBN-10", function() {
|
it("should add an ISBN-10", function() {
|
||||||
this.timeout(10000);
|
this.timeout(20000);
|
||||||
return lookupIdentifier(win, "0838985890").then(function(ids) {
|
return lookupIdentifier(win, "0838985890").then(function(ids) {
|
||||||
var item = Zotero.Items.get(ids[0]);
|
var item = Zotero.Items.get(ids[0]);
|
||||||
assert.equal(item.getField("title"), "Zotero: a guide for librarians, researchers, and educators");
|
assert.equal(item.getField("title"), "Zotero: a guide for librarians, researchers, and educators");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
it("should add an ISBN-13", function() {
|
it("should add an ISBN-13", function() {
|
||||||
this.timeout(10000);
|
this.timeout(20000);
|
||||||
return lookupIdentifier(win, "978-0838985892").then(function(ids) {
|
return lookupIdentifier(win, "978-0838985892").then(function(ids) {
|
||||||
var item = Zotero.Items.get(ids[0]);
|
var item = Zotero.Items.get(ids[0]);
|
||||||
assert.equal(item.getField("title"), "Zotero: a guide for librarians, researchers, and educators");
|
assert.equal(item.getField("title"), "Zotero: a guide for librarians, researchers, and educators");
|
||||||
|
|
Loading…
Reference in a new issue