CompositionArea: Don't unconditionally apply draft contents if empty

This commit is contained in:
Scott Nonnenberg 2023-04-17 13:50:29 -07:00 committed by GitHub
parent cdc68d1c34
commit f93b4235d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 12 deletions

View file

@ -124,7 +124,7 @@ Bootstrap.benchmark(async (bootstrap: Bootstrap): Promise<void> => {
const deltaList = new Array<number>();
for (let runId = 0; runId < RUN_COUNT + DISCARD_COUNT; runId += 1) {
debug('finding composition input and clicking it');
const input = await app.waitForEnabledComposer(250);
const input = await app.waitForEnabledComposer();
debug('entering message text');
await input.type(`my message ${runId}`);