Fix flaky edit test

This commit is contained in:
Fedor Indutny
2026-02-18 15:00:36 -08:00
committed by GitHub
parent 2684557c66
commit 84eb5c57e3
6 changed files with 12 additions and 27 deletions

View File

@@ -322,9 +322,6 @@ describe('editing', function (this: Mocha.Suite) {
debug('checking for message');
await window.locator('.module-message__text >> "hello"').waitFor();
debug('accepting conversation');
await window.getByRole('button', { name: 'Continue' }).click();
const { dataMessage: profileKeyMsg } = await friend.waitForMessage();
assert(profileKeyMsg.profileKey != null, 'Profile key message');
@@ -540,9 +537,6 @@ describe('editing', function (this: Mocha.Suite) {
.click();
await page.locator('.module-conversation-hero').waitFor();
debug('accepting conversation');
await page.getByRole('button', { name: 'Continue' }).click();
const { dataMessage: profileKeyMsg } = await friend.waitForMessage();
assert(profileKeyMsg.profileKey != null, 'Profile key message');