Increase timeout to hopefully prevent noteeditor tag test from failing
This commit is contained in:
parent
7b7b268727
commit
09d4960e1f
|
@ -9,9 +9,9 @@ describe("Note Editor", function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
beforeEach(function* () {
|
beforeEach(function* () {
|
||||||
// Avoid "this._editor is undefined" error between tests,
|
// Avoid "this._editor is undefined" error and incorrect note selection between tests,
|
||||||
// though there's definitely a better way to fix this
|
// though there's definitely a better way to fix this
|
||||||
yield Zotero.Promise.delay(50);
|
yield Zotero.Promise.delay(150);
|
||||||
});
|
});
|
||||||
|
|
||||||
after(function () {
|
after(function () {
|
||||||
|
@ -49,12 +49,6 @@ describe("Note Editor", function () {
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should show tags in alphabetical order", function* () {
|
it("should show tags in alphabetical order", function* () {
|
||||||
// FIXME: This test fails too often in Travis
|
|
||||||
if (Zotero.automatedTest) {
|
|
||||||
this.skip();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
var note = new Zotero.Item('note');
|
var note = new Zotero.Item('note');
|
||||||
note.addTag('B');
|
note.addTag('B');
|
||||||
yield note.saveTx();
|
yield note.saveTx();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user