commit 09d4960e1f2faa18128fa4313acefdc8fecc088b
parent 7b7b26872715a8277458877fb74a9f89273891e4
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 27 Mar 2017 20:44:22 -0400
Increase timeout to hopefully prevent noteeditor tag test from failing
Diffstat:
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git 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();