chat tests: Give some time to process each of the 140 chat messages
This avoids overflowing socket.io's receive buffer.pull/4750/head
parent
020df75677
commit
085ab452a0
|
@ -24,8 +24,8 @@ describe('chat-load-messages', function () {
|
|||
if (num.length === 2) num = `0${num}`;
|
||||
chatInput.sendkeys(`msg${num}`);
|
||||
chatInput.sendkeys('{enter}');
|
||||
await helper.waitForPromise(() => chatText.children('p').length === i);
|
||||
}
|
||||
await helper.waitForPromise(() => chatText.children('p').length === messages, 60000);
|
||||
await new Promise((resolve) => helper.newPad(() => resolve(), padName));
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue