E2E: Add delay to slow down cypress and depict end user's speed. (#28113)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
88ad3bb95b
Коммит
3e84d20dbe
@@ -7,6 +7,7 @@ import * as TIMEOUTS from '../../../fixtures/timeouts';
|
||||
export function postListOfMessages({sender, channelId, numberOfMessages = 30}) {
|
||||
Cypress._.times(numberOfMessages, (postIndex) => {
|
||||
cy.postMessageAs({sender, message: `Other users p-${postIndex}`, channelId});
|
||||
cy.wait(TIMEOUTS.ONE_SEC);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user