From 09d4960e1f2faa18128fa4313acefdc8fecc088b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 27 Mar 2017 20:44:22 -0400 Subject: [PATCH] Increase timeout to hopefully prevent noteeditor tag test from failing --- test/tests/noteeditorTest.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/test/tests/noteeditorTest.js b/test/tests/noteeditorTest.js index cc938ff0e..1015b01a7 100644 --- a/test/tests/noteeditorTest.js +++ b/test/tests/noteeditorTest.js @@ -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();