Commit 6e8a9876 authored by JC Brand's avatar JC Brand

Fix failing test (when run in isolation)

parent f854e477
......@@ -527,6 +527,7 @@
}).c('body').t(message).tree();
await view.model.onMessage(msg);
await u.waitUntil(() => view.el.querySelector('.chat-msg__text a'));
view.el.querySelector('.chat-msg__text a').click();
await u.waitUntil(() => _converse.chatboxes.length === 3)
expect(_.includes(_converse.chatboxes.pluck('id'), 'coven@chat.shakespeare.lit')).toBe(true);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment