Cleanup RemoteConfig

This commit is contained in:
Fedor Indutny 2023-12-08 00:59:54 +01:00 committed by GitHub
parent 7bad05f5a0
commit b2a3605d77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
53 changed files with 121 additions and 614 deletions

View file

@ -296,6 +296,12 @@ 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');
debug('finding composition input and clicking it');
{
const input = await app.waitForEnabledComposer();
@ -529,6 +535,12 @@ 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');
// Sending the original message
// getting a read receipt
// testing the message's send state