Fix flakey edits mock test

This commit is contained in:
Jamie Kyle
2025-04-14 14:29:07 -07:00
committed by GitHub
parent e2f5712094
commit 366cba9ac9
15 changed files with 63 additions and 53 deletions
@@ -168,7 +168,7 @@ Bootstrap.benchmark(async (bootstrap: Bootstrap): Promise<void> => {
const start = Date.now();
// test
await typeIntoInput(SearchBar, searchContact.profileName);
await typeIntoInput(SearchBar, searchContact.profileName, '');
await CreateCallLink.waitFor({ state: 'hidden' }); // hides when searching
await expect(OtherCallListItems).not.toBeAttached();
await sendCallEventSync(
+1 -1
View File
@@ -219,7 +219,7 @@ Bootstrap.benchmark(async (bootstrap: Bootstrap): Promise<void> => {
});
debug('entering message text');
await typeIntoInput(input, `my message ${runId}`);
await typeIntoInput(input, `my message ${runId}`, '');
await input.press('Enter');
debug('waiting for message on server side');
+1 -1
View File
@@ -89,7 +89,7 @@ Bootstrap.benchmark(async (bootstrap: Bootstrap): Promise<void> => {
const input = await waitForEnabledComposer(window);
debug('entering message text');
await typeIntoInput(input, `my message ${runId}`);
await typeIntoInput(input, `my message ${runId}`, '');
await input.press('Enter');
debug('waiting for message on server side');