mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
chat tests: Give some time to process each of the 140 chat messages
This avoids overflowing socket.io's receive buffer.
This commit is contained in:
parent
020df75677
commit
085ab452a0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue