Update mock tests to use locator.fill instead of .type

This commit is contained in:
trevor-signal 2024-04-08 12:58:08 -04:00 committed by GitHub
parent 09f1c15a3e
commit 2497d0d8a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 8 deletions

View file

@ -117,11 +117,7 @@ describe('storage service', function (this: Mocha.Suite) {
}
debug('Enter message text');
const composeArea = window.locator(
'.composition-area-wrapper, .Inbox__conversation .ConversationView'
);
const input = composeArea.locator('[data-testid=CompositionInput]');
const input = await app.waitForEnabledComposer();
await typeIntoInput(input, 'hello stranger!');
await input.press('Enter');