From b39429b229ffa81496fb74007e7c654f60e33b41 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Fri, 30 Mar 2018 15:24:57 +0200 Subject: [PATCH] Bump timeouts to try and avoid unnecessary test failures on Travis --- spec/chatbox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/chatbox.js b/spec/chatbox.js index 686b898d7..037a40c0c 100644 --- a/spec/chatbox.js +++ b/spec/chatbox.js @@ -1569,7 +1569,7 @@ test_utils.waitUntil(function () { return $(view.el).find('.chat-content').find('.chat-message img').length; - }, 500).then(function () { + }, 1000).then(function () { expect(view.sendMessage).toHaveBeenCalled(); var msg = $(view.el).find('.chat-content').find('.chat-message').last().find('.chat-msg-content'); expect(msg.html()).toEqual( @@ -1579,7 +1579,7 @@ test_utils.sendMessage(view, message); return test_utils.waitUntil(function () { return $(view.el).find('.chat-content').find('.chat-message img').length === 2; - }, 500); + }, 1000); }).then(function () { expect(view.sendMessage).toHaveBeenCalled(); var msg = $(view.el).find('.chat-content').find('.chat-message').last().find('.chat-msg-content');