Increase timeout to hopefully prevent noteeditor tag test from failing

This commit is contained in:
Dan Stillman 2017-03-27 20:44:22 -04:00
parent 7b7b268727
commit 09d4960e1f

View File

@ -9,9 +9,9 @@ describe("Note Editor", 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
yield Zotero.Promise.delay(50);
yield Zotero.Promise.delay(150);
});
after(function () {
@ -49,12 +49,6 @@ describe("Note Editor", 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');
note.addTag('B');
yield note.saveTx();