Browse Source

Fix failing test on Travis

JC Brand 6 years ago
parent
commit
615b5b08a2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/roomslist.js

+ 1 - 1
spec/roomslist.js

@@ -304,7 +304,7 @@
                 }).c('body').t('foo').tree());
 
             const lview = _converse.rooms_list_view
-            await test_utils.waitUntil(() => lview.el.querySelectorAll(".available-chatroom").length);
+            await test_utils.waitUntil(() => lview.el.querySelectorAll(".available-chatroom").length, 500);
 
             // If the user isn't mentioned, the counter doesn't get incremented, but the text of the groupchat is bold
             let room_el = lview.el.querySelector(".available-chatroom");