mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 23:49:20 +01:00
Fix flaky edit test
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user